Closed
Bug 326590
Opened 18 years ago
Closed 18 years ago
counter-reset property don't work inside :before element
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 288946
People
(Reporter: edoardo, Assigned: dbaron)
References
()
Details
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; it; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1 Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; it; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1 The H2 elements must have consecutive numbers before the text. But if the counter-reset is inside H1:before this don't works. Reproducible: Always Steps to Reproduce: 1.load the page 2. 3. Actual Results: The value of the counter ("section" in the example page) is always 1 Expected Results: an incremented counter before H2 elements The page "http://elrond.aspix.it/generated.html" works correctly with Opera and also with FireFox if I put counter-reset in a separate H1 element, as in --------------------------------------------- H1:before { content: counter(chapter) ". "; counter-increment: chapter; } H1 { counter-reset: section; } --------------------------------------------- it works I can't figure if this is a required behaviour.
Assignee | ||
Comment 1•18 years ago
|
||
Duplicate of invalid bug. *** This bug has been marked as a duplicate of 288946 ***
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•