Re: Selector Parsing for Selectors API

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 UTC