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. ~TJReceived on Sunday, 25 August 2013 18:28:12 UTC
This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:31 UTC