Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #29036

Re: "Node.textContent"

From "Christoph M. Becker" <cmbecker69@arcor.de>
Newsgroups comp.lang.javascript
Subject Re: "Node.textContent"
Date 2015-12-25 11:55 +0100
Organization solani.org
Message-ID <n5j7b4$s72$1@solani.org> (permalink)
References <Node.textContent-20151224191208@ram.dialup.fu-berlin.de>

Show all headers | View raw


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.

See the relevant specification:
<http://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-textContent>.

-- 
Christoph M. Becker

Back to comp.lang.javascript | Previous | Next | Find similar | Unroll thread


Thread

Re: "Node.textContent" "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-12-25 11:55 +0100

csiph-web