Skip to content

Selectors and case-sensitivity #3372

Open
@fantasai

Description

@fantasai

I'm going through the incoming references to Selectors and I had a question: why does HTML specify that CSS's syntax is lowercased, HTML's tag/attribute name is lowercased, and then a case-sensitive match is performed rather than simply saying that HTML's attribute/tag names are considered ASCII case-insensitive? (From my perspective it's really weird for the HTML spec to be manipulating CSS/Selectors syntax rather than merely classifying HTML things as case-sensitive or ASCII case-insensitive.)

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