W3C home > Mailing lists > Public > www-style@w3.org > August 2004

Re: getElementsBySelector()

From: Daniel Glazman <danielglazman@easyconnect.fr>
Date: Sat, 28 Aug 2004 21:04:57 +0200
Message-ID: <4130D759.6070902@easyconnect.fr>
To: Anne van Kesteren <fora@annevankesteren.nl>
CC: W3C CSS List <www-style@w3.org>, www-dom@w3.org

Anne van Kesteren wrote:

> #   document.getElementsBySelector('div#main p a.external')
> #
> # This will return an array containing all of the links that have
> # 'external' in their class attribute and are contained inside a
> # paragraph which is itself contained inside a div with its id
> # attribute set to 'main'.

Yes. I think it is highly time to have that as a standardized API.
All our visual CSS-conformant browsers already have the implem for it,
a lot of web sites, using Simon's js workaround or another script equivalent,
and it could be _really_ useful to web authors.

</Daniel>
Received on Saturday, 28 August 2004 19:05:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:32 GMT