[html5] r906 - /

whatwg at whatwg.org whatwg at whatwg.org
Fri Jun 15 14:04:05 PDT 2007


Author: ianh
Date: 2007-06-15 14:04:04 -0700 (Fri, 15 Jun 2007)
New Revision: 906

Modified:
   index
   source
Log:
[e] (0) More work on making innerHTML in XML be well defined

Modified: index
===================================================================
--- index	2007-06-15 19:45:25 UTC (rev 905)
+++ index	2007-06-15 21:04:04 UTC (rev 906)
@@ -4038,16 +4038,16 @@
    title=dom-innerHTML-XML><code>innerHTML</code></dfn> attribute is indeed
    usable in an XML context.
 
-  <p>On getting, the <code title=dom-innerHTML-XML><a
+  <p>In an XML context, the <code title=dom-innerHTML-XML><a
    href="#innerhtml2">innerHTML</a></code> DOM attribute on <code><a
    href="#htmlelement">HTMLElement</a></code>s and <code><a
-   href="#htmldocument">HTMLDocument</a></code>s, in an XML context, must
-   return a string in the form of an <a
+   href="#htmldocument">HTMLDocument</a></code>s, on getting, must return a
+   string in the form of an <a
    href="http://www.w3.org/TR/xml/#wf-entities">internal general parsed
    entity</a> that is XML namespace-well-formed, the string being an
-   isomorphic serialisation of that element or document. User agents may
-   adjust prefixes and namespace declarations in the serialisation (and
-   indeed might be forced to do so in some cases to obtain
+   isomorphic serialisation of all of that node's child nodes, in document
+   order. User agents may adjust prefixes and namespace declarations in the
+   serialisation (and indeed might be forced to do so in some cases to obtain
    namespace-well-formed XML). <a href="#refsXML">[XML]</a> <a
    href="#refsXMLNS">[XMLNS]</a>
 

Modified: source
===================================================================
--- source	2007-06-15 19:45:25 UTC (rev 905)
+++ source	2007-06-15 21:04:04 UTC (rev 906)
@@ -2679,17 +2679,17 @@
   title="dom-innerHTML-XML"><code>innerHTML</code></dfn> attribute is
   indeed usable in an XML context.</p>
 
-  <p>On getting, the <code title="dom-innerHTML-XML">innerHTML</code>
-  DOM attribute on <code>HTMLElement</code>s and
-  <code>HTMLDocument</code>s, in an XML context, must return a string
-  in the form of an <a
+  <p>In an XML context, the <code
+  title="dom-innerHTML-XML">innerHTML</code> DOM attribute on
+  <code>HTMLElement</code>s and <code>HTMLDocument</code>s, on
+  getting, must return a string in the form of an <a
   href="http://www.w3.org/TR/xml/#wf-entities">internal general parsed
   entity</a> that is XML namespace-well-formed, the string being an
-  isomorphic serialisation of that element or document. User agents
-  may adjust prefixes and namespace declarations in the serialisation
-  (and indeed might be forced to do so in some cases to obtain
-  namespace-well-formed XML). <a href="#refsXML">[XML]</a> <a
-  href="#refsXMLNS">[XMLNS]</a></p>
+  isomorphic serialisation of all of that node's child nodes, in
+  document order. User agents may adjust prefixes and namespace
+  declarations in the serialisation (and indeed might be forced to do
+  so in some cases to obtain namespace-well-formed XML). <a
+  href="#refsXML">[XML]</a> <a href="#refsXMLNS">[XMLNS]</a></p>
 
   <p>If any of the following cases are found in the DOM being
   serialised, the user agent must raise an




More information about the Commit-Watchers mailing list