Skip to content

[css-lists] counter scopes should be based on box tree, not element tree #674

Open
@upsuper

Description

@upsuper

CSS Lists and Counters spec says:

An element that does not generate a box ... cannot set, reset, or increment a counter. The counter properties are still valid on such an element, but they must have no effect.

While there is an issue listed in CSS Display spec says:

ISSUE 1 contents currently only has an effect on box generation and layout. Other things that care about the document tree are unaffected, like counter scopes. Is this what we want?

I'm not sure if there is any normative text in CSS Display spec leads to that issue, but given that the issue exists, there might be some disagreement between the two specs we may want to resolve.

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