Skip to content

Inconsistency between @property { syntax } (quoted) and attr(type()) (unquoted) #12353

Closed as not planned
@AtkinsSJ

Description

@AtkinsSJ

At least on a surface level, these are very similar: a description of the syntax to use when parsing some arbitrary CSS tokens. The only difference I can spot between the two definitions (1, 2) is that syntax can take a single *.

However, syntax takes this grammar wrapped in a <string>, and type() takes it unquoted, using a new <syntax> type. Is there a reason why type() can't also take a string, or has it just been overlooked?

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