Closed
Bug 231050
Opened 21 years ago
Closed 21 years ago
Fixed elements with a negative z-index are rendered behind page background
Categories
(Core :: Web Painting, defect)
Tracking
()
People
(Reporter: jail, Assigned: roc)
Details
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.5) Gecko/20031026 Firebird/0.7 Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.5) Gecko/20031026 Firebird/0.7 If I set an element's CSS z-index property to -1 and position property to fixed (tested with img tag), the image is rendered behind the page background. That is, it's invisible, but I know it's being drawn because the image is a large transparent png (watermark, width and height of 100%), and slows scrolling down a fair bit. In both Safari and Internet Explorer 5:mac, the image is rendered behind the page content, and above the page background, in all the mozilla browsers on my hd, it's rendered behind the page bg. Sorry I don't have an example page, I haven't uploaded my revamped site yet. Reproducible: Always Steps to Reproduce: I'll repduce the bug in mozilla composer, since wysiwyg is simple. 1. Create a new web page in mozilla composer (I'm using moz 1.5 btw) 2. Click the Image toolbar button and select an image (I've just used a jpg desktop picture), click the Advanced Edit... button followed by the "Inline Style" tab, add these two properties: "z-index: -1" and "position: fixed" 3. Click OK, click OK again (bad ui design btw). Actual Results: Image is behind the page background, but still there. You can see the image handles and everything. Expected Results: Image should be behind the page content, but above the background.
*** This bug has been marked as a duplicate of 78087 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Updated•6 years ago
|
Component: Layout: View Rendering → Layout: Web Painting
You need to log in
before you can comment on or make changes to this bug.
Description
•