Open
Bug 320458
Opened 20 years ago
Updated 3 years ago
Background / border of static -moz-inline-box drawn under background of containing element
Categories
(Core :: Layout: Block and Inline, defect)
Tracking
()
NEW
People
(Reporter: ytpete, Unassigned)
Details
(Keywords: testcase)
Attachments
(1 file)
|
593 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7
In an element with display:-moz-inline-box is contained in a parent element with a background, the inline-box's background and/or border appear *under* the parent's background. The inline-box's content still appears *over* the background. This occurs only when the inline-box is position:static.
Reproducible: Always
Steps to Reproduce:
See testcase...
Actual Results:
In the first line, the blue background & red border appear underneath the parent element's gray background.
Expected Results:
All three lines should show the blue background & red border unobscured.
Reproduces on both FF 1.5 and 1.0.7
| Reporter | ||
Comment 1•20 years ago
|
||
| Reporter | ||
Comment 2•20 years ago
|
||
A similar problem can be seen if the testcase is changed to use -moz-inline-block.
Comment 3•20 years ago
|
||
Definetely a bug, when I add overflow:auto to the .test selector, the first line also displays right.
Maybe this gets fixed when bug 317375 gets fixed (although that's more a guess).
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•