W3C home > Mailing lists > Public > www-style@w3.org > March 2015

Re: [mediaqueries] @media screen and (foo) or (baz)

From: L. David Baron <dbaron@dbaron.org>
Date: Mon, 23 Mar 2015 18:39:29 -0700
To: Simon Sapin <simon.sapin@exyr.org>
Cc: www-style@w3.org
Message-ID: <20150324013929.GA9350@pescadero.dbaron.org>
On Monday 2015-03-23 18:36 -0700, L. David Baron wrote:
> I think it's actually not that hard to specify; it just means
> adding:
>   <media-condition-without-or> = 
>     <media-not> | <media-and> | <media> | <media-in-parens>
> and then changing the existing production to:
>   <media-query> = <media-condition>
>                   | [ not | only ]? <media-type> [ and <media-condition-without-or> ]?
> 
> The <media-in-parens> takes care of allowing the or-ed conditions
> inside of parentheses.

Er, I didn't delete enough text.  I meant adding:
  <media-condition-without-or> = 
    <media-not> | <media-and> | <media-in-parens>
and then changing the existing production to:
  <media-query> = <media-condition>
                  | [ not | only ]? <media-type> [ and <media-condition-without-or> ]?

-David

-- 
𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                          https://www.mozilla.org/   𝄂
             Before I built a wall I'd ask to know
             What I was walling in or walling out,
             And to whom I was like to give offense.
               - Robert Frost, Mending Wall (1914)

Received on Tuesday, 24 March 2015 01:39:56 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:30 UTC