Re: [csswg-drafts] [css-lists] Does counter() create a new counter if none exists?

Oh, it seems Firefox and Chrome follow [CSS 2.2](https://www.w3.org/TR/CSS22/generate.html#x29):

> If `counter-increment` or `content` on an element or pseudo-element refers to a counter that is not in the scope of any `counter-reset`, implementations should behave as though a `counter-reset` had reset the counter to 0 on that element or pseudo-element.



-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2348#issuecomment-367848205 using your GitHub account

Received on Thursday, 22 February 2018 22:43:13 UTC