W3C home > Mailing lists > Public > www-style@w3.org > August 2013

[css-variables][css-conditional] variable declarations and references in @supports conditions

From: Cameron McCormack <cam@mcc.id.au>
Date: Sun, 25 Aug 2013 17:01:35 +1000
Message-ID: <5219ABCF.5090101@mcc.id.au>
To: www-style list <www-style@w3.org>
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 ... }
Received on Sunday, 25 August 2013 07:02:08 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:33 UTC