Skip to content

Why opaque "selectorText"? #2

@oakad

Description

@oakad

CSS selectors are predicates, optionally subject to composition by a number of reasonably well defined operators (as evidenced by the fact that they work roughly the same in different browsers). Would not it make sense, therefore, to actually expand the structure of the selector for serialization purposes, rather than keep it lumped together in a string?

Instead of "body"something to the tune of "body", with selector composition operators having their own element names (apart from comma, which can be kept implicit among siblings).

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