Skip to content

The rule for nested lists is no longer necessary #243

@germanfrelo

Description

@germanfrelo

The rule "Remove the margin on nested lists in Chrome, Edge, and Safari" appears in sanitize.css:

/**
* Remove the margin on nested lists in Chrome, Edge, and Safari.
*/
:where(dl, ol, ul) :where(dl, ol, ul) {
margin: 0;
}

Since Chromium and WebKit already have that rule in their UA stylesheets, I think it can be removed.


Also mentioned in csstools/normalize.css#27.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions