Sync-up to the Living Specification's changes:
authortravil
Mon, 03 Feb 2014 16:43:07 -0800
changeset 32 f4430fb3b150
parent 31 979528721c40
child 33 bfa43ce953aa
Sync-up to the Living Specification's changes:
* Verified compatibility in DocType serialization (sans internalSubset part)
* Removed throwing condition from commit:
https://github.com/whatwg/domparsing/commit/0ca094cc0b955ff638573931f3168df8227455ee
index.html
--- a/index.html	Mon Feb 03 15:58:08 2014 -0800
+++ b/index.html	Mon Feb 03 16:43:07 2014 -0800
@@ -439,17 +439,11 @@
                 </ol>
 
             <dt><code><a title="comment" data-spec="DOM4" class="externalDFN">Comment</a></code>
-            <dd><ol>
-                <li>Let <var>markup</var> be the concatenation of "<code>&lt;!--</code>", <var>node</var>'s
+            <dd>
+                <p>Return the concatenation of "<code>&lt;!--</code>", <var>node</var>'s
                 <code><a title="dom-characterdata-data" data-spec="DOM4" class="externalDFN">data</a></code>, and
                 "<code>--></code>".
 
-                <li>If <var>markup</var> matches the
-                <code><a data-spec="XML10" title="comment" class="externalDFN">Comment</a></code> production, return
-                <var>markup</var>. Otherwise, throw a
-                <code><a title=domexception data-spec="DOM4" class="externalDFN">DOMException</a></code>
-                with name <code>InvalidStateError</code>.
-              </ol>
             <dt><code><a title="cdata" data-spec="DOML2" class="externalDFN">CDATASection</a></code>
             <dd><ol>
                 <li>Let <var>markup</var> be the concatenation of "<code>&lt;![CDATA[</code>",