Re: [css3-mediaqueries] not (media-feature)

On 10/23/12 11:07 AM, Kenneth Rohde Christiansen wrote:
> Is "not (media-feature)" forbidden per syntax?

Yes. says:

  : [ONLY | NOT]? S* media_type S* [ AND S* expression ]*
  | expression [ AND S* expression ]*

So "not" is only usable with a media type.  e.g.:

   not all and (monochrome)

> If so, what is the reason for that?

This I don't know offhand.


Received on Tuesday, 23 October 2012 15:18:43 UTC