Skip to content

[css-lists] HTML stylesheet should reset list-item counter for <menu> #10664

@Loirooriol

Description

@Loirooriol

https://html.spec.whatwg.org/multipage/rendering.html#lists

ol, ul, menu { counter-reset: list-item; }

https://drafts.csswg.org/css-lists/#ua-stylesheet

/* Set up ol and ul so that they scope the list-item counter */
ol, ul {
  counter-reset: list-item;
}

It's missing <menu>.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions