Closed
Bug 144840
Opened 24 years ago
Closed 24 years ago
padding-top style hides text
Categories
(Core :: CSS Parsing and Computation, defect, P2)
Core
CSS Parsing and Computation
Tracking
()
VERIFIED
INVALID
People
(Reporter: madhur, Assigned: dbaron)
Details
(Keywords: testcase)
Attachments
(2 files)
buildID : 2002-05-12--XXpr1 (happens on all platforms)
see the attached testcase.
The padding-top style covers & hides the text on top of the inline elemants.
| Reporter | ||
Updated•24 years ago
|
Severity: normal → major
Keywords: testcase
Priority: -- → P2
Hardware: PC → All
Summary: padding-top style hides text → padding-top style hides text
| Reporter | ||
Comment 1•24 years ago
|
||
| Assignee | ||
Comment 2•24 years ago
|
||
This is the correct behavior. It is the responsibility of the author to ensure
that there is enough space. See:
* CSS2 9.9, which says "Boxes with the same stack level in a stacking context
are stacked bottom-to-top according to document tree order." (Also see 9.5,
which has rules for layers and floats that do *not* cause any layer splitting here.)
* CSS2 10.6.1 and 10.8, which describe the model for vertical formatting of
inline elements
Konqueror has the same behavior as we do. Opera does something (noncompliant)
with extra layers to avoid this.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
| Reporter | ||
Comment 3•24 years ago
|
||
David,
To emphasize my point further, i took a screen shot of the attached testcase in
the Opera browser and then in the Netscape browser.
Opera :- "padding-top" does not overwrite the text on the top lines.
Netscape:- this does
| Assignee | ||
Comment 4•24 years ago
|
||
I know. Opera's wrong.
Comment 5•24 years ago
|
||
indeed, inline element backgrounds are rendered on the 'inline' layer in CSS2.
(the three layers being "in flow box", "floating boxes", and "inline", in that
order bottom-to-top). VERIFIED INVALID
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•