W3C home > Mailing lists > Public > www-style@w3.org > August 2013

Re: [css-mediaqueries] whitespace handling

From: L. David Baron <dbaron@dbaron.org>
Date: Fri, 30 Aug 2013 09:05:07 -0400
To: Shiki Okasaka <shiki.okasaka@gmail.com>
Cc: Florian Rivoal <florian@rivoal.net>, www-style@w3.org
Message-ID: <20130830130507.GA31255@crum.dbaron.org>
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

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:31 UTC