W3C home > Mailing lists > Public > www-style@w3.org > December 2012

Re: [css3-conditional] @supports "not(" without space

From: Simon Sapin <simon.sapin@kozea.fr>
Date: Wed, 12 Dec 2012 00:11:25 +0100
Message-ID: <50C7BD9D.90701@kozea.fr>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: Simon Pieters <simonp@opera.com>, "www-style@w3.org" <www-style@w3.org>
Le 11/12/2012 23:09, Simon Sapin a écrit :
> Le 11/12/2012 18:50, Tab Atkins Jr. a écrit :
>> On Tue, Dec 11, 2012 at 12:19 AM, Simon Sapin <simon.sapin@kozea.fr> wrote:
>>> Hi,
>>>
>>> Here is a proposed new grammar for @supports. It accepts the and(, or( and
>>> not( FUNCTION tokens as equivalent to an IDENT followed by '(', but should
>>> otherwise be equivalent.
>>
>> We don't need to alter the grammar.  We can just define not(), and(),
>> and or() functions that accept an appropriate subset of the supports
>> grammar, and say that they have their expected meaning (rather than
>> being always false, as functions are currently).
>
> I think we can do that for not(), but not for and() and or(). The latter
> two require a left operator: they are not used in the same contexts as


I meant a left operand of course.

-- 
Simon Sapin
Received on Tuesday, 11 December 2012 23:11:51 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:03 GMT