-
Notifications
You must be signed in to change notification settings - Fork 716
[css-values-5][css-namespaces] CSS @namespace rules should probably not allow URLs with request modifiers #12077
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
It could be useful that a URL defined elsewhere (e.g. a CSS property with a |
I don't think so? For namespaces using |
They are not parsed. They are case sensitive. No url un-escaping is done.
They are opaque strings which happen to be URLs |
If it's not useful to mix and match with CSS properties etc, it's a bit weird that they're using the That definition can live in the |
Yeah, we should probably replace @svgeesus that's the XML definition. It seems that for CSS that applies as well and user agents cannot eagerly parse the contents of |
Since <url()> includes the modifiers, I think you probably want this:
|
Uh oh!
There was an error while loading. Please reload this page.
The current grammar for CSS @namespace rules is:
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)
The text was updated successfully, but these errors were encountered: