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

weinig has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-values-5][css-namespaces] CSS @namespace rules should probably not allow URLs with request modifiers ==
The current [grammar for CSS @namespace rules](https://drafts.csswg.org/css-namespaces/#syntax) is:

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

Since it uses the [`<url>`](https://www.w3.org/TR/css-values-4/#urls) production, that means any URL modifiers defined, such as the [request modifiers](https://drafts.csswg.org/css-values-5/#request-url-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)

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12077 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 14 April 2025 17:11:03 UTC