Closed Bug 130004 Opened 24 years ago Closed 24 years ago

z-index, CSS, dependant on positioning of elements

Categories

(Core :: Layout, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: bugs, Assigned: attinasi)

Details

Attachments

(1 file)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8+) Gecko/20020226 BuildID: 2002030111 3 elements. first, z-index 1, position fixed second, z-index 2 third, z-index 3, position fixed instead of expected order of 1,2,3 based on z-index, actual display on screen is 2,1,3 with fixed elements above non-fixed Reproducible: Always Steps to Reproduce: Click on attachment. Look very carefully at difficult to view text.
Attached file Test case
From http://www.w3.org/TR/REC-CSS2/visuren.html#propdef-z-index: Applies to: positioned elements For a positioned box, the 'z-index' property specifies: In other words, z-index does not apply to non-positioned content. Try putting position:relative on the "z-index:2" paragraph and you'll see that we handle this correctly (putting a background on that <p> would really make the testcase easier to use). Marking invalid since we're following the CSS2 spec here.
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
cool. wasn't certain if it was a bug. read through the spec, but didn't note that requirement.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: