Closed
Bug 322321
Opened 19 years ago
Closed 19 years ago
counter-increment does not work in :before
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 288946
People
(Reporter: michiel, Assigned: dbaron)
References
()
Details
(Keywords: testcase)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
According to http://www.w3.org/TR/CSS21/generate.html#counters, a counter-increment can be specified in a :before selector; this does not work. It only works in a element selector without a pseudo-element selector.
Reproducible: Always
Steps to Reproduce:
Create a setup according to the w3c document, but this with a dl/dt/dd setup; see the URL specified. The first test does not work; the second does.
Actual Results:
Only the second dl counts properly
Expected Results:
Expected both dl's to count properly.
Comment 1•19 years ago
|
||
Maybe the same as bug 288946?
Assignee: nobody → dbaron
Component: General → Style System (CSS)
Keywords: testcase
Product: Firefox → Core
QA Contact: general → ian
Version: unspecified → Trunk
Comment 2•19 years ago
|
||
Bug confirmed.
Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8) Gecko/20051111 Firefox/1.5
Using Ubuntu 5.10.
I stumbled upon this bug yesterday making a CSS layout which rendered properly in Opera and Konqueror.
This is not a bug related to Windows XP.
Comment 3•19 years ago
|
||
Opera has a couple of known bugs with regard to counters. Comment 1 is correct, this bug is a DUPLICATE of that INVALID one.
*** This bug has been marked as a duplicate of 288946 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•