W3C home > Mailing lists > Public > www-style@w3.org > October 2006

Re: [css3-selectors] :parent selector

From: Richard York <richy@smilingsouls.net>
Date: Fri, 06 Oct 2006 09:36:14 -0400
To: David Woolley <david@djwhome.demon.co.uk>, <www-style@w3.org>
Message-ID: <C14BD40E.7717%richy@smilingsouls.net>

On 9/26/06 2:16 AM, "David Woolley" <david@djwhome.demon.co.uk> wrote:

>> CSS, what about using a parent selector in something like a future
>> getElementsBySelector() method in script?
> Wouldn't get elements by XPath expression be more appropriate, and already
> implemented on many platforms.

Sorry for the belated reply.  Well, Anne van Kesteren is already well
underway in specifying a Selectors API [1], though the methods in his WD are
called matchAll() and matchSingle(), rather than getElementsBySelector().

Anyway, while a parent/ancestor selector may not be technically feasible for
incremental rendering CSS, it would be absolutely feasible, and expected, in
a Selectors API, since there are no incremental rendering issues there, and
at least setting aside the syntax for that purpose, I think, is a good

[1] http://www.w3.org/TR/2006/WD-selectors-api-20060926/

Richard York
Received on Friday, 6 October 2006 13:36:35 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:26 UTC