Skip to content

[cssom] Provide access to counter values #5879

Open
@taralx

Description

@taralx

Currently there is no access to counter values, even with getComputedStyle. I'm trying to implement a system that allows cross-reference to specific elements in a list, and in order to do that I'm having to count the elements myself. Since the browser has already computed the counter value (and AFAIK counters are not reflow-sensitive, unlike page numbers), it seems like it would be useful to expose them directly.

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