Closed Bug 380066 Opened 18 years ago Closed 18 years ago

Text gets drawn above other box, while its background gets drawn under it

Categories

(Core :: Web Painting, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: martijn.martijn, Assigned: roc)

References

()

Details

(Keywords: testcase)

Attachments

(2 files)

Attached file testcase
See testcase, I would not expect to see the text, but I'm still seeing it with current trunk build. I'm also seeing it with current branch builds. Or maybe I'm completely misunderstanding the concept of stacking contexts and stacking levels? http://www.w3.org/TR/CSS21/visuren.html#z-index http://www.w3.org/TR/CSS21/zindex.html
Attached file testcase2
This testcase is the same as the first, but without using float:left.
I think we're correct for the first testcase. Floats are supposed to paint in front of in-flow block backgrounds (step 4 and 5 of zindex.html), and in-flow inlines paint in front of floats (steps 5 and 7 of zindex.html). I think we're also correct for the second testcase.
You're right, thanks for the explanation.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → INVALID
Component: Layout: View Rendering → Layout: Web Painting
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: