Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[css-counter-styles] Clarify what is meant by “currently-defined” #4205

Closed
fantasai opened this issue Aug 16, 2019 · 0 comments
Closed
Labels
Closed Accepted as Editorial Commenter Satisfied Commenter has indicated satisfaction with the resolution / edits. css-counter-styles-3 Current Work

Comments

@fantasai
Copy link
Collaborator

fantasai commented Aug 16, 2019

See http://www.w3.org/mid/4EDF4C04.8070603@kozea.fr from @SimonSapin

Le 06/12/2011 19:52, Tab Atkins Jr. a écrit :

No, CSS is a declarative language, and only cares about ordering to the minimal extent possible needed to drive the cascade. All things defined in the entire document are considered available at the same time. The point of "currently-defined" is that if you later (through JS or something) define a counter-style with the given name, the override style will take that style.

This is what I was missing: "currently defined" is at the time a representation is generated, not at the time a rule is parsed.

Possible fix, remove “currently-”?

@fantasai fantasai added the css-counter-styles-3 Current Work label Aug 16, 2019
@tabatkins tabatkins added Closed Accepted as Editorial Commenter Satisfied Commenter has indicated satisfaction with the resolution / edits. labels May 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Closed Accepted as Editorial Commenter Satisfied Commenter has indicated satisfaction with the resolution / edits. css-counter-styles-3 Current Work
Projects
None yet
Development

No branches or pull requests

2 participants