This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 15768 - Sentence describing Text interface's wholeText attribute doesn't parse ("Text nodes logically-adjacent text nodes")
Summary: Sentence describing Text interface's wholeText attribute doesn't parse ("Text...
Status: NEW
Alias: None
Product: DOM TS
Classification: Unclassified
Component: DOM Level 3 (show other bugs)
Version: unspecified
Hardware: All All
: P2 trivial
Target Milestone: ---
Assignee: Philippe Le Hegaret
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-29 00:09 UTC by Filipus Klutiero
Modified: 2012-01-29 00:09 UTC (History)
0 users

See Also:


Attachments

Description Filipus Klutiero 2012-01-29 00:09:41 UTC
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?