Re: [selectors-api] Leading and Trailing Whitespace in Selectors (was: Handling :link and :visited Pseudo Classes)

* Lachlan Hunt wrote:
>3. Add a requirement to Selectors API to trim leading and trailing white
>    space before processing the selector.

This is likely the preferable option, allowing white space in the
selector would require changing the overall CSS grammar to remove
the ambiguity (does the white space around a selector belong to
the selector, or the style sheet), or require adding a production
for use only in contexts other than style sheets.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 

Received on Friday, 18 April 2008 07:18:44 UTC