Re: [css-mediaqueries] whitespace handling

On Friday 2013-08-30 20:55 +0900, Shiki Okasaka wrote:
> On Wed, 10 Jul 2013 01:32:01 +0200, L. David Baron <dbaron@dbaron.org> wrote:
> > media_query
> >    : [ONLY | NOT]? S+ media_type [ S+ AND S+ expression ]* S*
> >      | expression [ S+ AND S+ expression ]* S*
> >    ;
> 
> With this grammar, media_query needs to begin with at least one S if
> neither ONLY nor NOT is used.
> I guess what we are expecting would be like:
> 
> media_query
>    : [ ONLY S+ | NOT S+ ]? media_type [ S+ AND S+ expression ]* S*
>      | expression [ S+ AND S+ expression ]* S*
>    ;
> 
> Right?

Yes.  We should fix this as you described.  Thanks for pointing that
out.

-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 Friday, 30 August 2013 13:05:34 UTC