Closed
Bug 6011
Opened 25 years ago
Closed 25 years ago
Lists rendered incorrectly when CSS properties are attached
Categories
(Core :: CSS Parsing and Computation, defect, P3)
Tracking
()
VERIFIED
INVALID
M11
People
(Reporter: kkto, Assigned: peterl-retired)
Details
With the M5 release of Mozilla on Linux (running on a Pentium), I found that
long list items are rendered incorrectly, if CSS properties are changed on the
corresponding UL or OL tags. Here are the symptoms: the margins are much more
than when CSS properties are not changed, the first line "hang over" the left
margin, and text justification is not done. Here is the document that I've used
to find this problem:
<HTML>
<HEAD>
<TITLE>Test</TITLE>
<STYLE type="text/css"><!--
OL { white-space: pre; text-align: justify; }
--></STYLE>
</HEAD>
<BODY>
<H1>A heading...</H1>
<OL>
<LI>A list item. This is special: this is really very very very
long. I don't know what it is for, though. Maybe it will test
something. For example, inlined borders and inset list element are
candidates.
</OL>
</BODY>
</HTML>
Comment 1•25 years ago
|
||
I believe all the effects you describe are the correct result of white-space:
pre, which makes the whitespace act like the PRE element in HTML. Thus the
spaces at the beginning of all bug the first line are significant.
Once text-align: justify is implemented again, you should check to make sure it
doesn't clash with white-space: pre. I'm not sure how they should interact.
Assignee | ||
Updated•25 years ago
|
Target Milestone: M10 → M11
Assignee | ||
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
Assignee | ||
Comment 3•25 years ago
|
||
This is correct whitespace behavior
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Comment 4•25 years ago
|
||
Verifying bug invalid.
You need to log in
before you can comment on or make changes to this bug.
Description
•