Closed Bug 282569 Opened 20 years ago Closed 19 years ago

Ordered lists show wrong counter value when -moz-column-count CSS3 property applied

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bugmail, Assigned: roc)

References

Details

(Keywords: css3, testcase)

Attachments

(2 files)

When an ordered list OL element receives a -moz-column-count value via a CSS3
rule, all list item LIs in the OL display as 0 (zero) using Win Firefox/20050213.
Attached file HTML testcase
Keywords: testcase
Summary: Ordered lists shown wrong counter when -moz-column-count CSS3 property applied → Ordered lists show wrong counter value when -moz-column-count CSS3 property applied
Perhaps related to bug 272547? (Although that bug is not about columns, so...)
Also reproduced using Camino, so setting All/All.
OS: Windows XP → All
Hardware: PC → All
(In reply to comment #2)
> Perhaps related to bug 272547? (Although that bug is not about columns, so...)

Yeah, I'm guessing it's just not finding the right block frame to manage the
counts, because the primary frame for that content is not a block in this case.
Depends on: 272547
Attached patch fixSplinter Review
Here we just need to inherit the counter style into the wrapped block.
Attachment #178428 - Flags: superreview?(bzbarsky)
Attachment #178428 - Flags: review?(bzbarsky)
Comment on attachment 178428 [details] [diff] [review]
fix

Hmmm... Why do we actually need to inherit this?  Won't this reset the counter
for each column?
The patch in bug 3247 fixes this (by making it a tag name check in the block
code, as a temporary measure until we use the counter properties for lists), so
I suggest not bothering with this.
Depends on: 3247
Attachment #178428 - Flags: superreview?(bzbarsky)
Attachment #178428 - Flags: review?(bzbarsky)
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WONTFIX
This is a bug. I suggest we wait till bug 3247 is fixed and mark this FIXED then
instead of WONTFIX which seems incorrect.
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
WFM using Win FF 1.5.
Status: REOPENED → RESOLVED
Closed: 19 years ago19 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: