Closed Bug 614969 Opened 14 years ago Closed 14 years ago

Ordered list items with overflow hidden have a zero counter

Categories

(Core :: Layout: Block and Inline, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla5

People

(Reporter: jaffathecake, Assigned: MatsPalmgren_bugz)

References

()

Details

(Keywords: css2, regression)

Attachments

(1 file, 1 obsolete file)

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7 Build Identifier: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0b7) Gecko/20100101 Firefox/4.0b7 If a list item has overflow hidden it gets a counter value of zero. List items with overflow visible are indexed by 1, as if the list-items with overflow hidden weren't there. Reproducible: Always Steps to Reproduce: View http://jsfiddle.net/UtPvk/3/ Actual Results: List items are numbered 0 0 1 0 0 2 Expected Results: List items numbered 1 2 3 4 5 6
Bug 272547 seems to have regressed. (See also bug 4522.)
Component: Style System (CSS) → Layout: Block and Inline
QA Contact: style-system → layout.block-and-inline
It regressed sometime between 2008-09-24 -- 2008-11-09. (The builds in between crashes on Linux due to some Pango assertion.) The culprit appears to be bug 456484, it works if I revert that change.
Blocks: 456484
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: css2, regression
OS: Mac OS X → All
Hardware: x86_64 → All
Attached patch Patch rev. 1 (obsolete) — Splinter Review
Assignee: nobody → matspal
Status: NEW → ASSIGNED
display:inline OLs show every item as number 1, related? e.g. http://developer.valvesoftware.com/wiki/Template:Choreotut
Mats, is that patch ready to go? If so, request review?
Attached patch Patch rev. 2Splinter Review
Attachment #493548 - Attachment is obsolete: true
Attachment #522229 - Flags: review?(bzbarsky)
Comment on attachment 522229 [details] [diff] [review] Patch rev. 2 r=me; want to add a testcase involving a columnset too?
Attachment #522229 - Flags: review?(bzbarsky) → review+
I added a columnset test but it didn't seem to be affected by the bug. Fixed in Cedar: http://hg.mozilla.org/projects/cedar/rev/5cfe5372bd6a
Flags: in-testsuite+
Whiteboard: fixed-in-cedar
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: fixed-in-cedar
Target Milestone: --- → mozilla2.2
Version: unspecified → Trunk
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: