W3C home > Mailing lists > Public > www-style@w3.org > October 2012

Re: Selector Parsing for Selectors API

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 30 Oct 2012 13:54:36 -0400
Message-ID: <5090145C.2070302@mit.edu>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: www-style@w3.org
On 10/30/12 1:50 PM, Tab Atkins Jr. wrote:
> The Syntax spec, as currently defined, says *nothing* about parsing
> selectors, except that selectors are a sequence of any token besides {
> and }.  The parser generates style rules and sets their selector
> property to the given stream of tokens, but leaves the actual parsing
> of the selector's tokens into something meaningful to the Selectors
> spec.

All good so far.

> I assumed as a given that the Selector spec's rules for parsing a
> token stream into a meaningful selector would be compatible with
> current CSS.  Both CSS and Selectors API will just use the Selectors
> parsing definitions.

Again, good.  As long as CSS and Selectors API are doing the same thing!  ;)

-Boris
Received on Tuesday, 30 October 2012 17:55:07 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:02 GMT