- From: Sam Weinig via GitHub <sysbot+gh@w3.org>
- Date: Wed, 14 May 2025 16:06:19 +0000
- To: public-css-archive@w3.org
@noamr, happy to. I realize there is one little issue with what I proposed, it should actually have a `?` in url() and src() and should be: ``` <url> = <url()> | <src()> <url()> = url( <string> <url-modifiers>? ) | <url-token> <src()> = src( <string> <url-modifiers>? ) <url-modifiers> = <crossorigin-modifier> || <integrity-modifier> || <referrerpolicy-modifier> <crossorigin-modifier> = crossorigin(anonymous | use-credentials) <integrity-modifier> = integrity(<string>) <referrerpolicy-modifier> = referrerpolicy(no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url) ``` The only question I have is which spec to make the changes in since this would change the CSS Value 4 definition of <url> as well as the CSS Value 5 definitions of the modifiers. I think probably the least invasive change would be to update both CSS Value 4 to: ``` <url> = <url()> | <src()> <url()> = url( <string> <url-modifiers>? ) | <url-token> <src()> = src( <string> <url-modifiers>? ) ``` and leave <url-modifiers> without any definitions. And then update CSS Value 5 with the new <url-modifiers> changes. Does that sound good? -- GitHub Notification of comment by weinig Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12151#issuecomment-2880790247 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 14 May 2025 16:06:20 UTC