Skip to content

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

Description

@fantasai

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-”?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions