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

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