W3C home > Mailing lists > Public > www-style@w3.org > February 2009

[css3-mediaqueries] grammar unspecified?

From: Andrey Mikhalev <amikhal@abisoft.spb.ru>
Date: Tue, 24 Feb 2009 23:41:49 +0300 (MSK)
To: www-style@w3.org
Message-ID: <Pine.LNX.4.63.0902242324240.6949@master.abisoft.spb.ru>

in WD-css3-mediaqueries-20081015 part '3. Syntax' contain mix of 
references both to generic grammar and CSS2 appendix G grammar, which 
makes it unusable:

1. "media_query_list production defined below replaces the medium
    production from CSS2"
    - appendix G grammar has 'medium' but does not define 'value'
      production which used in syntax.
    - generic grammar has 'value' but does not contain 'medium' production.
2. "RESOLUTION is to be added to the CSS2 term  production and NOT, ONLY,
    AND, and ',' are to be added to the CSS2 value production"
    - again, weird unclean mix of statements from two different grammars
      (generic has no 'term', app.G has no 'value')
    - 'value' defined in generic grammar. for me, statement above claim
      mediaquery syntax broken (i.e. mediaquery cannot be parsed in generic
      grammar w/o modification).

btw, generic value ("[ any | block | ATKEYWORD S* ]+") looks like overkill 
for mediaquery expressions listed in spec.
Received on Tuesday, 24 February 2009 20:42:32 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:49:26 UTC