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


Groups > comp.lang.javascript > #29040

Re: "Node.textContent"

Path csiph.com!au2pb.net!2.us.feeder.erje.net!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Newsgroups comp.lang.javascript
Subject Re: "Node.textContent"
Date Fri, 25 Dec 2015 17:49:31 +0100
Organization PointedEars Software (PES)
Lines 37
Message-ID <2972328.J5IDtcBq7H@PointedEars.de> (permalink)
References <Node.textContent-20151224191208@ram.dialup.fu-berlin.de> <1g4v96ev8k29o.15qzulwqjvasj$.dlg@40tude.net>
Reply-To Thomas 'PointedEars' Lahn <cljs@PointedEars.de>
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding 8Bit
X-Trace solani.org 1451062172 9086 eJwFwYEBwDAEBMCVCJ6Ow2v2HyF3YVAwHQGPG/eoESPSnSltW0QFCTmW/snY/krmjLWvVz0SIBDr (25 Dec 2015 16:49:32 GMT)
X-Complaints-To abuse@news.solani.org
NNTP-Posting-Date Fri, 25 Dec 2015 16:49:32 +0000 (UTC)
User-Agent KNode/4.14.2
X-User-ID eJwFwQkBwDAIA0BLfKGtHAbEv4TdwVOzTyQyQPC9brJit8qxJTy3PSDavroVnv55cWz0cgPVn4ygYYNj9gOGFRZp
Cancel-Lock sha1:LcfmyGvgtPriCU4vIE2lda3RtN4=
X-NNTP-Posting-Host eJwFwYEBwDAEBMCVyHthHBr2H6F3hKt/15xuXK7WCaqV7UAgbRFhZCFJvbIzOC8zq7NH8X4AwBB1
Xref csiph.com comp.lang.javascript:29040

Show key headers only | 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