On 24 Dec 2015 18:21:51 GMT, Stefan Ram wrote:
> The web page at
>
> developer.mozilla.org/en-US/docs/Web/API/Node
>
> contains: »
>
> Node.textContent
>
> Is a DOMString representing the textual content
> of an element and all its descendants.
>
> «. Do I think correctly when I think that when this property
> represents the textual content /of an element/, I would
> expect it to be part of the interface »Element« and not »Node«?
>
> The documentation does not even bother to specify the value
> or meaning of this property for a non-element node.
>
> BTW: In the above quotation, they use the Verb »Is«, not
> »Returns«.
textContent used to be a member of Element, but it seems that it has changed
since DOM3.