W3C home > Mailing lists > Public > www-style@w3.org > March 2003

Re: Blocks in parentheses or brackets

From: Etan Wexler <ewexler@stickdog.com>
Date: Sat, 08 Mar 2003 00:00:31 -0800
To: www-style@w3.org, CSS2 Editors <css2-editors@w3.org>, Bert Bos <bert@w3.org>
Message-id: <BA8EE31E.3CD%ewexler@stickdog.com>

Bert Bos wrote to <www-style@w3.org> on 21 February 2003 in "Re: Blocks in
parentheses or brackets" (<mid:15958.9863.624296.392437@lanalana.inria.fr>):

> You should distinguish the grammar of appendix D (the one you quoted)
> from the grammar in chapter 4. The former is an approximation of the
> grammar of CSS level 2 *only*, while the latter is for all of CSS.

The latter also forbids blocks in parentheses and in brackets (from
<http://www.w3.org/TR/CSS21/syndata.html#tokenization>):

any         : [ IDENT | NUMBER | PERCENTAGE | DIMENSION | STRING
              | DELIM | URI | HASH | UNICODE-RANGE | INCLUDES
              | FUNCTION any* ')' | DASHMATCH | '(' any* ')' | '[' any* ']'
] S*;

With the exception of the contrary example in section 4.1.6
(<http://www.w3.org/TR/CSS21/syndata.html#block>), this is not currently a
problem. The grammar will only become a problem if the Working Group wants
to add a construct that places blocks in parentheses or in brackets.
 
Received on Saturday, 8 March 2003 03:00:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:20 GMT