Closed
Bug 9840
Opened 26 years ago
Closed 26 years ago
CSS2 counters not implemented
Categories
(Core :: CSS Parsing and Computation, enhancement, P3)
Tracking
()
People
(Reporter: emk, Assigned: rickg)
References
()
Details
Overview Description:
display:marker will replace the normal list item marker, but Mozilla 5
doesn't.
Steps to Reproduce:
1) Launch Apprunner.
2) Navigate to http://member.nifty.ne.jp/emk/moz/li.html (same as W3C CSS2
spec. 12.6.1 sample)
Actual Results:
-------------------------------
1. () This is the first item.
2. () This is the second item.
3. () This is the third item.
-------------------------------
Expected Results:
-------------------------------
(1) This is the first item.
(2) This is the second item.
(3) This is the third item.
-------------------------------
Build Date & Platform Bug Found:
Build ID: 1999071008 on Windows NT with Service Pack 4.
Additional Information:
See also: http://www.w3.org/TR/REC-CSS2/generate.html#markers
Updated•26 years ago
|
Assignee: peterl → rickg
Severity: normal → enhancement
Summary: display:marker will not work correctly → CSS2 counters not implemented
Comment 1•26 years ago
|
||
Actually, the expected results would be:
1. (1) This is the first item.
2. (2) This is the second item.
3. (3) This is the third item.
Because the LI still has display type 'list-item'.
This isn't a failure of 'display: marker' so much as the fact that CSS2 counters
aren't implemented (and not promised for this release).
Perhaps, but maybe display: list-item should be considered to have an implicit
:before with display: marker, overridden by any other :before.
Reporter | ||
Comment 3•26 years ago
|
||
>Actually, the expected results would be:
>1. (1) This is the first item.
>2. (2) This is the second item.
>3. (3) This is the third item.
>
>Because the LI still has display type 'list-item'.
No. see the CSS2 spec 12.6.1.
( http://www.w3.org/TR/REC-CSS2/generate.html#markers )
|When the 'display' property has the value 'marker' for content generated by an
|element with 'display: list-item', a marker box generated for ':before'
|replaces the normal list item marker.
( Cited from http://www.w3.org/TR/REC-CSS2/generate.html#markers )
>This isn't a failure of 'display: marker' so much as the fact that CSS2
>counters
>aren't implemented (and not promised for this release).
If counters aren't implemented, the entire declaration (consists property and
value) should be ignored. Therofore, the expected results would be:
>1. This is the first item.
>2. This is the second item.
>3. This is the third item.
See also CSS1 spec. "7.1 Forward-compatible parsing"
( http://www.w3.org/TR/REC-CSS1#forward-compatible-parsing )
or CSS2 spec. "4.2 Rules for handling parsing errors"
( http://www.w3.org/TR/REC-CSS2/syndata.html#parsing-errors )
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → WONTFIX
CSS2 support is not planned for 5.0. While we have limited CSS2 support, and we
may actually do this before we ship -- it's not technically a bug.
Status: REOPENED → RESOLVED
Closed: 26 years ago → 26 years ago
Resolution: WONTFIX → LATER
I'll set this to Verified/Later in case we can get to it before ship. ;-)
Updated•26 years ago
|
Status: VERIFIED → REOPENED
Updated•26 years ago
|
Status: REOPENED → RESOLVED
Closed: 26 years ago → 26 years ago
Resolution: LATER → DUPLICATE
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Comment 7•26 years ago
|
||
Verified dup of #3247
You need to log in
before you can comment on or make changes to this bug.
Description
•