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

[selectors-api] LCWD comments

From: (wrong string) Ůski <1981km@gmail.com>
Date: Sun, 16 Nov 2008 14:36:59 +0100
Message-ID: <441D5198B8254E209F1B8CD819116112@kmPC>
To: <public-webapps@w3.org>

Dear WG,

I've got some comments on the recently published WD of Selectors API.

> The term context node refers to the node upon which the method was invoked.
Could this name be changed? It causes confusion with XPath 1.0.

> The term node's subtree refers to the tree of elements that are descendants of the context node.
They often don't form a tree. The name should be changed or the node itself included. Clarification is necessary either way because it affects the prescribed behaviour when the node is an element which matches the group of selectors.

> Authors are advised that while the use of pseudo-elements in selectors is permitted, they will not match any elements in the document, and thus would not result in any elements being returned.
The CSS WG is currently wondering whether elements should be able to be descendants of some pseudo-elements (notably :selection, :first-line and :first-letter). So this note may need correction.
Received on Sunday, 16 November 2008 13:42:44 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:12 UTC