Closed Bug 81381 Opened 25 years ago Closed 25 years ago

CSS2: :after, :before - no rendering with counter() function

Categories

(Core :: CSS Parsing and Computation, defect)

x86
Windows 98
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 3247

People

(Reporter: unger, Assigned: pierre)

Details

From Bugzilla Helper: User-Agent: Mozilla/4.77 [en] (Win98; U) BuildID: 2001050515 If you use CSS2 definition like h1:before { content: "Chapter " counter(chapter) ". "; } nothing is rendered. If counter() is ommited rendering is ok. Reproducible: Always Steps to Reproduce: 1. h1:before { content: "Kapitel "; } 2. h1:before { content: "Kapitel " counter(kapitel) ". "; counter-increment: kapitel; } 3. <h1>Title</h1> Actual Results: Title Expected Results: Kapitel 1. Titel
I think this is a duplicate of 3247, which covers "counters in generated content". The fact that "Kapitel" is not rendered is due to backwards- compatibility rules.
This is indeeed a duplicate. Counters are not working correctly yet, so support is turned off per the CSS forward compatibility rules. *** This bug has been marked as a duplicate of 3247 ***
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.