W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2009

Re: [selectors-api] Scoped Selectors

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Sat, 26 Sep 2009 21:22:34 -0400
Message-ID: <4ABEBE5A.7080605@mit.edu>
To: Lachlan Hunt <lachlan.hunt@lachy.id.au>
CC: public-webapps <public-webapps@w3.org>
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?

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

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:19 UTC