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


Groups > comp.lang.javascript > #29040

Re: "Node.textContent"

From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Newsgroups comp.lang.javascript
Subject Re: "Node.textContent"
Date 2015-12-25 17:49 +0100
Organization PointedEars Software (PES)
Message-ID <2972328.J5IDtcBq7H@PointedEars.de> (permalink)
References <Node.textContent-20151224191208@ram.dialup.fu-berlin.de> <1g4v96ev8k29o.15qzulwqjvasj$.dlg@40tude.net>

Show all headers | View raw


JJ wrote:

> textContent used to be a member of Element,

No, it did not:

<http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#ID-745549614>

> but it seems that it has changed since DOM3.

The “textContent” attribute was only introduced with DOM Level 3 Core,
and it was introduced there on the Node interface:

,-<http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-1950641247>
| 
| […]
| 
| interface Node {
|   […]
|   // Introduced in DOM Level 3:
|       attribute DOMString       textContent;
| […]

That has not changed:

,-<http://www.w3.org/TR/2015/REC-dom-20151119/#node>
| 
| interface Node : EventTarget {
|   […]
|          attribute DOMString? textContent;
| […]  

-- 
PointedEars
FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix>
Please do not cc me. / Bitte keine Kopien per E-Mail.

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


Thread

Re: "Node.textContent" JJ <jj4public@vfemail.net> - 2015-12-25 11:50 +0700
  Re: "Node.textContent" "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-12-25 13:36 +0100
  Re: "Node.textContent" Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-12-25 17:49 +0100

csiph-web