W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2001

whatToShow and attributes

From: Jonas Sicking <sicking@bigfoot.com>
Date: Wed, 23 May 2001 22:28:08 +0200
Message-ID: <009d01c0e3c6$e269fb00$d1ee42d5@kermit>
To: <www-dom@w3.org>
Hi again : )

Two clairifications, better safe then sorry...

The treeWalker says that whatToShow skipping takes precidence over the
filter. Does that include if the filter returns FILTER_REJECT? I.e., if the
filter would return FILTER_REJECT for an element but elements are masked in
whatToShow would the treewalker step into that elements children?

Does nodeIterator or treeWalker ever step into the attributes of an element?
I would expect not, but the whatToShow filter has a bit for attribute nodes.

/ Jonas Sicking
Received on Wednesday, 23 May 2001 16:25:16 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:08 UTC