W3C home > Mailing lists > Public > www-style@w3.org > May 2010

Re: [flex-units] unit abbreviations and the flex()

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Fri, 28 May 2010 19:05:23 +0200
To: Zack Weinberg <zweinberg@mozilla.com>
Cc: www-style@w3.org
Message-ID: <2dtvv5pu89qq3lr4tak8k7qmahfjis8580@hive.bjoern.hoehrmann.de>
* Zack Weinberg wrote:
>NUMBER 	{num}
>PERCENTAGE 	{num}%
>DIMENSION 	{num}{ident}
>
>declaration : property S* ':' S* value;
>value       : [ any | block | ATKEYWORD S* ]+;
>any         : [ IDENT | NUMBER | PERCENTAGE | DIMENSION | STRING
>              | DELIM | URI | HASH | UNICODE-RANGE | INCLUDES
>              | DASHMATCH | ':' | FUNCTION S* any* ')' 
>              | '(' S* any* ')' | '[' S* any* ']' ] S*;
>
>(Maybe I should have said "core syntax" instead?)  Anyway, the
>Appendix G grammar can be, and indeed already has been, modified
>by Level 3 modules, but the section 4 grammar is not supposed to
>change, and 
>
>   top: 2*;
>
>is not a valid 'declaration' per the section 4 grammar.

It is a declaration followed by a semicolon; the `value` consists of two
`any`, one NUMBER and one DELIM (which is one character at any position
where no other tokens match, and no other token begins with a '*') as no
white space between the `any`s is required.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Friday, 28 May 2010 17:06:06 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:27 GMT