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

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Sun, 25 Aug 2013 13:36:04 -0700
Message-ID: <CAAWBYDDp_Fd58UPPVjUJ6gD6q8ABBjqjeTos7_u1tZHiKh11RQ@mail.gmail.com>
To: Simon Sapin <simon.sapin@exyr.org>
Cc: www-style list <www-style@w3.org>
On Sun, Aug 25, 2013 at 1:08 PM, Simon Sapin <simon.sapin@exyr.org> wrote:
> Le 25/08/2013 08:01, Cameron McCormack a écrit :
>
>>     @supports (var-a: abc;)               { ... fails ... }
>
> This one should be the same as
>
>   @supports (color: green;)
>
> What do we want these to do?

Yes, it is - note the equivalent statement without the semicolon in
the "passes" section of his email.

Per the Conditional spec's grammar, having a semicolon at the end is invalid.

~TJ
Received on Sunday, 25 August 2013 20:36:51 UTC

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