W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2009

Re: [selectors-api] querySelector with namespace

From: Anne van Kesteren <annevk@opera.com>
Date: Thu, 26 Nov 2009 10:14:53 -0200
To: "Henri Sivonen" <hsivonen@iki.fi>, "Jonathan Watt" <jwatt@jwatt.org>
Cc: public-webapps@w3.org
Message-ID: <op.u3z4a3qk64w2qv@anne-van-kesterens-macbook.local>
On Thu, 26 Nov 2009 09:33:28 -0200, Henri Sivonen <hsivonen@iki.fi> wrote:
> On Nov 26, 2009, at 13:18, Jonathan Watt wrote:
>> [...]
>
> Isn't the easiest solution not to support xml:id on the Web? It's not  
> supported in Gecko, WebKit or Trident. What's the upside of adding it?

Besides that, querySelector("#foo") and getElementById("foo") should work  
fine in xml:id implementations and both are much less cumbersome to type.


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Thursday, 26 November 2009 12:15:39 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:35 GMT