use concept-serialize from DOMPS now innerHTML is no longer on Document
authorAnne van Kesteren <annevk@opera.com>
Mon, 13 Feb 2012 11:01:21 +0100
changeset 39 c7e4a4792695
parent 38 18e68bb2bc4f
child 40 395f487f95a3
use concept-serialize from DOMPS now innerHTML is no longer on Document
Overview.html
Overview.src.html
--- a/Overview.html	Sun Feb 12 14:57:56 2012 +0100
+++ b/Overview.html	Mon Feb 13 11:01:21 2012 +0100
@@ -40,7 +40,7 @@
 
    <h1 class="head" id="xmlhttprequest-ls">XMLHttpRequest</h1>
 
-   <h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 12 February 2012</h2>
+   <h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 13 February 2012</h2>
 
    <dl>
     <dt>This Version:</dt>
@@ -72,7 +72,7 @@
 <p class="dontpublish copyright"><a href="http://creativecommons.org/publicdomain/zero/1.0/" rel="license"><img alt="CC0" src="http://i.creativecommons.org/p/zero/1.0/80x15.png"></a>
 To the extent possible under law, the editor has waived all copyright and
 related or neighboring rights to this work. In addition, as of
-12 February 2012, the editor has made this specification available
+13 February 2012, the editor has made this specification available
 under the
 <a href="http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0" rel="license">Open Web Foundation Agreement Version 1.0</a>,
 which is available at
@@ -262,6 +262,12 @@
    this specification relies upon, such as various exceptions and
    <code class="external"><a href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#eventtarget">EventTarget</a></code>. <a href="#refsDOM">[DOM]</a></dd>
 
+   <dt>DOM Parsing and Serialization
+   <dd><p>A <span>conforming user agent</span> must support at least the
+   <a class="external" href="http://html5.org/specs/dom-parsing.html#concept-serialize" title="concept-serialize">serialize</a>
+   concept from DOM Parsing and Serialization.
+   <a href="#refsDOMPS">[DOMPS]</a>
+
    <dt>File API</dt>
    <dd><p>A <span>conforming user agent</span> must
    support at least the subset of the functionality defined in File API that
@@ -1299,12 +1305,11 @@
       <a class="external" href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#html-document">HTML document</a>, followed by
       "<code>;charset=</code>", followed by <var>encoding</var>.</p>
 
-      <p>Let the <a href="#request-entity-body">request entity body</a> be the result of getting
-      the <code>innerHTML</code>
-      attribute on <var>data</var>
+      <p><a class="external" href="http://html5.org/specs/dom-parsing.html#concept-serialize" title="concept-serialize">Serialize</a>
+      <var>data</var>, and let the <a href="#request-entity-body">request entity body</a> be the result,
       <a class="external" href="http://dev.w3.org/2006/webapi/WebIDL/#dfn-obtain-unicode" title="convert a DOMString to a sequence of Unicode characters">converted to Unicode</a>
       and encoded as <var>encoding</var>. Re-throw any exception this
-      throws.</p> <!-- XXX replace innerHTML somehow -->
+      throws.</p>
 
       <p class="note">In particular, if the document cannot be serialized an
       "<code class="external"><a href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#invalidstateerror">InvalidStateError</a></code>" exception is
@@ -2827,6 +2832,9 @@
 <dt id="refsDOM">[DOM]
 <dd><cite><a href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html">DOM4</a></cite>, Anne van Kesteren, Aryeh Gregor and Ms2ger. W3C.
 
+<dt id="refsDOMPS">[DOMPS]
+<dd><cite><a href="http://html5.org/specs/dom-parsing.html">DOM Parsing and Serialization</a></cite>, Ms2ger. WHATWG.
+
 <dt id="refsECMASCRIPT">[ECMASCRIPT]
 <dd><cite><a href="http://www.ecma-international.org/publications/standards/Ecma-262.htm">ECMAScript Language Specification</a></cite>. ECMA.
 
--- a/Overview.src.html	Sun Feb 12 14:57:56 2012 +0100
+++ b/Overview.src.html	Mon Feb 13 11:01:21 2012 +0100
@@ -270,6 +270,12 @@
    this specification relies upon, such as various exceptions and
    <code data-anolis-spec=dom>EventTarget</code>. <span data-anolis-ref>DOM</span></p></dd>
 
+   <dt>DOM Parsing and Serialization
+   <dd><p>A <span>conforming user agent</span> must support at least the
+   <span data-anolis-spec=domps title=concept-serialize>serialize</span>
+   concept from DOM Parsing and Serialization.
+   <span data-anolis-ref>DOMPS</span>
+
    <dt>File API</dt>
    <dd><p>A <span>conforming user agent</span> must
    support at least the subset of the functionality defined in File API that
@@ -1307,12 +1313,11 @@
       <span data-anolis-spec=dom>HTML document</span>, followed by
       "<code>;charset=</code>", followed by <var>encoding</var>.</p>
 
-      <p>Let the <span>request entity body</span> be the result of getting
-      the <code>innerHTML</code>
-      attribute on <var>data</var>
+      <p><span data-anolis-spec=domps title=concept-serialize>Serialize</span>
+      <var>data</var>, and let the <span>request entity body</span> be the result,
       <span data-anolis-spec=webidl title="convert a DOMString to a sequence of Unicode characters">converted to Unicode</span>
       and encoded as <var>encoding</var>. Re-throw any exception this
-      throws.</p> <!-- XXX replace innerHTML somehow -->
+      throws.</p>
 
       <p class=note>In particular, if the document cannot be serialized an
       "<code data-anolis-spec=dom>InvalidStateError</code>" exception is