- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Sun, 25 Aug 2013 11:27:26 -0700
- To: Cameron McCormack <cam@mcc.id.au>
- Cc: www-style list <www-style@w3.org>
On Sun, Aug 25, 2013 at 12:01 AM, Cameron McCormack <cam@mcc.id.au> wrote: > I want to confirm that syntactically valid variable declarations and > references in an @supports condition won't cause the condition to fail. > Specifically: > > @supports (color: var(a)) { ... succeeds ... } > @supports (color: 2px var(a)) { ... succeeds ... } > @supports (color: var(a) ! important) { ... succeeds ... } > @supports (var-a: abc) { ... succeeds ... } > @supports (var-a: var(a)) { ... succeeds ... } > > @supports (color: var(a,)) { ... fails ... } > @supports (color: var(a) ! something) { ... fails ... } > @supports (var-a: abc;) { ... fails ... } > @supports (var-a:) { ... fails ... } Interesting question. I believe that since it just checks for parsing errors, but doesn't interpret anything, that all your examples are correct. ~TJ
Received on Sunday, 25 August 2013 18:28:12 UTC