Skip to content

[css-lists] Is the list-item counter increment for list items reflected in the computed style? #3769

Closed
@emilio

Description

@emilio

@domenic raised this potential interop issue. Edge supports the list-item counter, but doesn't expose it in the computed style.

Reading https://drafts.csswg.org/css-lists/#declaring-a-list-item:

(This has no effect on the values of the counter-* properties.)

I read it as "shouldn't be exposed in the computed style". But @MatsPalmgren disagrees with this (https://bugzilla.mozilla.org/show_bug.cgi?id=1539171#c3).

Given this requires some magic already I tend to think it shouldn't be exposed in the computed styles, though Mats thinks it's better.

Could this be clarified?

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