This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The description of the wholeText attribute of the Text interface reads: Returns all text of Text nodes logically-adjacent text nodes to this node, concatenated in document order. For instance, in the example below wholeText on the Text node that contains "bar" returns "barfoo", while on the Text node that contains "foo" it returns "barfoo". http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core.html#ID-1312295772 Something is wrong with the first sentence ("Returns all text of Text nodes logically-adjacent text nodes to this node"). This should probably read either all text of Text nodes which are logically-adjacent to this node or all text of logically-adjacent Text nodes of this node By the way, I do not understand the example very well. Is "&ent;" an entity?