- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Tue, 21 Jun 2022 21:37:02 +0000
- To: public-css-archive@w3.org
> Is image-set() invalid if `<string>` does not represent a valid URL?
No, no more than `<url>` is required to represent a valid URL. You can put whatever nonsense you want inside of there, like `url("foo bar &*[]{}:$?#")` and we'll just feed it to the URL parser and use whatever comes out. That sentence is just referring to the ability defined in [V&U](https://andreubotella.com/csswg-auto-build/css-values-4/#urls) for a `<string>` to be treated as a `<url>`.
> Is `<string>` valid in `<url-set>`?
Yes. If it's not currently written as such, that's a spec bug.
> I believe there is a small typo
Yup, that's a typo.
--
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7388#issuecomment-1162392642 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 21 June 2022 21:37:04 UTC