Skip to content

Universal selector is described incorrectly #8911

@annevk

Description

@annevk

https://drafts.csswg.org/selectors/#the-universal-selector says it's written like a CSS qualified name but that is wrong, as * is not a valid CSS qualified name. \* is, but is not the same as the universal selector.

Gecko appears to do this correctly for both the prefix and local name. Chromium does it correctly for the local name, but not the prefix. WebKit currently treats * and \* as equivalent, for both local name and prefix.

There's no test coverage for this currently.

This relates to #8909.

(https://drafts.csswg.org/css-namespaces/ seems correct in how it describes this, though there might be room for improvement.)

(I discovered this mismatch in https://bugs.webkit.org/show_bug.cgi?id=184604.)

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