W3C home > Mailing lists > Public > public-webapi@w3.org > June 2007

Re: Selectors API Method Names

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Thu, 28 Jun 2007 13:36:26 +0200
To: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Cc: public-webapi <public-webapi@w3.org>
Message-ID: <vm57831nv9s4bomhnu1lpe9pp69o1ug6ti@hive.bjoern.hoehrmann.de>

* Lachlan Hunt wrote:
>I don't agree with the last argument about text selection applying to 
>these names, since the names clearly say Element, but in general, you 
>make a very good case.

I believe dojo.html.selection.selectElement changes the text selection
so the specified element is selected (using the DOM2 selectNode method
on the relevant range). Text selection and "element selection" are not
mutually exclusive :-)

I of course support the .cssQuery names for the CSS Query API.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Thursday, 28 June 2007 11:36:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:57 GMT