https://drafts.csswg.org/css-values-5/#typedef-attr-type has this bit:
For this purpose, <url> is invalid as a <syntax-single-component>. Values that fail to parse according to the syntax trigger fallback.
But that seems fairly arbitrary? If only, because it also doesn't forbid <image>, which can also parse URLs.
I think the tainting works regardless, so why do we need this?
Looking at interop tests, Safari and Gecko don't implement this right now.
cc @tabatkins @andruud @dshin-moz @weinig
https://drafts.csswg.org/css-values-5/#typedef-attr-type has this bit:
But that seems fairly arbitrary? If only, because it also doesn't forbid
<image>, which can also parse URLs.I think the tainting works regardless, so why do we need this?
Looking at interop tests, Safari and Gecko don't implement this right now.
cc @tabatkins @andruud @dshin-moz @weinig