Skip to content

[css-syntax] The url special case in ident-like token parsing could be clearer #685

@bzbarsky

Description

@bzbarsky

https://drafts.csswg.org/css-syntax/#consume-ident-like-token says:

then create a with its value set to the returned string and return it

I think this would be clearer as:

then create a with its value set to "url" and return it

but if we want to preserve case, at least a note pointing out that this is talking about the string that matched "url" as opposed to the string that the quotation mark or apostrophe starts would be very helpful.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions