Skip to content

[css-values-5][css-namespaces] CSS @namespace rules should probably not allow URLs with request modifiers #12077

Open
@weinig

Description

@weinig

The current grammar for CSS @namespace rules is:

@namespace <namespace-prefix>? [ <string> | <url> ] ;

Since it uses the <url> production, that means any URL modifiers defined, such as the request modifiers in CSS Values 5 should also parse.

I don't think it's meaningful for @namespace to have request modifiers (though I may be mistaken). I propose adding some way for specifications like @namespace to parse only the URL itself.

(cc @noamr, @annevk, @tabatkins, @fantasai)

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