svn: /phpdoc/en/trunk/reference/dom/ domnode.xml
| From: | Christoph Michael Becker | Date: | Tue, 08 Sep 2015 22:03:07 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/dom/ domnode.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-13726@lists.php.net to get a copy of this message | ||
cmb Tue, 08 Sep 2015 22:03:07 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=337788
Log:
DOMElement::nodeValue does not conform to W3C specs (related to bug #70029)
Bug: https://bugs.php.net/70029 (Re-Opened) nodeValue of
DOMElement list content of children nodes
Changed paths:
U phpdoc/en/trunk/reference/dom/domnode.xml
Modified: phpdoc/en/trunk/reference/dom/domnode.xml
===================================================================
--- phpdoc/en/trunk/reference/dom/domnode.xml 2015-09-08 20:38:53 UTC (rev 337787)
+++ phpdoc/en/trunk/reference/dom/domnode.xml 2015-09-08 22:03:07 UTC (rev 337788)
@@ -146,7 +146,13 @@
<varlistentry xml:id="domnode.props.nodevalue">
<term><varname>nodeValue</varname></term>
<listitem>
- <para>The value of this node, depending on its type</para>
+ <para>
+ The value of this node, depending on its type.
+ Contrary to the W3C specification, the node value of
+ <classname>DOMElement</classname> nodes is equal to <link
+ linkend="domnode.props.textcontent">DOMNode::textContent</link> instead
+ of &null;.
+ </para>
</listitem>
</varlistentry>
<varlistentry xml:id="domnode.props.nodetype">