Re: [selectors-api] Scoped Selectors

On 9/26/09 4:36 PM, Lachlan Hunt wrote:
> A scoped selector string is a string that begins with an exclamation
> point followed by a the remainder of the selector.

This assumes that '!' will never be allowed at the beginning of a CSS 
selector, right?  Have you run this by the CSS working group?

> e.g. The selector ">em, >strong" supported by JS libraries can simply be
> prefixed with a "!", like "!>em, >strong" and the implementation will be
> able to process it to become ":scope>em, :scope>strong". Of course, it
> will also work with the other combinators.

That processing still needs to be defined, right?

-Boris

Received on Sunday, 27 September 2009 01:23:23 UTC