- From: Chris Lilley via GitHub <sysbot+gh@w3.org>
- Date: Wed, 26 Sep 2018 23:46:33 +0000
- To: public-css-archive@w3.org
svgeesus has just created a new issue for https://github.com/w3c/csswg-drafts:
== [css-variables][css-conditional] bad-string and bad-url tokens in non-custom properties that reference variables ==
from https://lists.w3.org/Archives/Public/www-style/2013Aug/0525.html by @heycam
> <bad-string> and <bad-url> tokens are disallowed in <any-value>, which
is used as the value for custom properties and also as the fallback for
variable references. But they are not disallowed at the top level of a
non-custom property that has variable references (and thus invokes the
"property value containing a variable must be assumed to be valid at
parse time" requirement). So:
> @supports (color: var(a, "
> )) { ... fails ... }
> @supports (color: var(a, url("b" c)) { ... fails ... }
> @supports (var-a: "
> ) { ... fails ... }
> @supports (var-a: url("b" c)) { ... fails ... }
> But:
> @supports (color: var(a) "
> ) { ... succeeds ... }
> @supports (color: var(a) url("b" c)) { ... succeeds ... }
> Should we make these fail too?
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3170 using your GitHub account
Received on Wednesday, 26 September 2018 23:46:39 UTC