W3C home > Mailing lists > Public > www-svg@w3.org > January 2009

Re: [selectors-api] SVG WG Review of Selectors API

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Mon, 26 Jan 2009 22:49:04 +0100
Message-ID: <497E2FD0.9050407@lachy.id.au>
To: Alex Russell <alex@dojotoolkit.org>
Cc: Erik Dahlström <ed@opera.com>, Doug Schepers <schepers@w3.org>, "public-webapps@w3.org" <public-webapps@w3.org>, www-svg <www-svg@w3.org>

Alex Russell wrote:
> Can this be represented in a :not() clause somehow? Foisting more work 
> onto script is the wrong answer.

No.  The SVG WG explicitly requested an example illustrating how to 
filter elements based on the namespace URI that works in the general 
case, given that there is no longer a namespace prefix resolution 
mechanism supported in this version of the API.

I'm well aware that with the specific markup example given in the spec, 
the selector "svg>video" would have the same result in this case, but 
that doesn't work for the general case, which is what the SVG WG wanted 
to see.

Lachlan Hunt - Opera Software
Received on Monday, 26 January 2009 21:49:46 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:16 UTC