Closed
Bug 466689
Opened 17 years ago
Closed 17 years ago
add/remove ordered list item, or change ol.start causes inconsistent number placement
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 418574
People
(Reporter: lsmith, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4
Starting with an ol with a start=5 and five lis, inserting, appending, or deleting an li or changing the start attribute causes one of the item numbers to jump out of alignment with the other numbering. The li content stays correctly aligned.
For example, inserting a new li before the first causes item numbered 10 to lose the gutter space between number dot and content. Conversely, some operations cause item numbers to appear well left of the normal dot alignment.
I didn't check if the start attr value being set, or being set to something other than 1, was circumstantial.
Noticed this in 3.0.4 Mac, 3.0.4 XP, and 3.1 XP but the misalignment was different. XP tests done under VMWare.
Reproducible: Always
Steps to Reproduce:
The included URL is a pared down test case, but...
1. Include in markup an ol containing five lis and start attribute set to 5
2. in a <script> tag, create and insert a new li before the first child of the ol
Similar actions for removing an li and changing the start attribute.
Actual Results:
Screen captures of results included in the repro page.
Expected Results:
numbering dot alignment remains consistent
Updated•17 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•