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

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

From: Simon Sapin <simon.sapin@exyr.org>
Date: Mon, 26 Aug 2013 10:15:55 +0100
Message-ID: <521B1CCB.7050704@exyr.org>
To: www-style@w3.org
CC: "L. David Baron" <dbaron@dbaron.org>
Le 25/08/2013 21:36, Tab Atkins Jr. a écrit :
> 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.

Yes, this is what I’m reading from the spec as well, but I seem to 
remember F2F discussions where dbaron wanted this to be valid because 
people might just add the semi-colon by habit. Or did I make this up?

-- 
Simon Sapin
Received on Monday, 26 August 2013 09:16:21 UTC

This archive was generated by hypermail 2.3.1 : Monday, 26 August 2013 09:16:21 UTC