[html5] r2049 - [] (0) Make execCommand('insertHTML') not work in XML documents, since it uses t [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon Aug 11 16:39:22 PDT 2008


Author: ianh
Date: 2008-08-11 16:39:21 -0700 (Mon, 11 Aug 2008)
New Revision: 2049

Modified:
   index
   source
Log:
[] (0) Make execCommand('insertHTML') not work in XML documents, since it uses the HTML parser. (Bug 5946) (credit: sp)

Modified: index
===================================================================
--- index	2008-08-11 23:26:06 UTC (rev 2048)
+++ index	2008-08-11 23:39:21 UTC (rev 2049)
@@ -42010,6 +42010,10 @@
 
     <ol>
      <li>
+      <p>If the document is an <span>XML document</span>, then throw an
+       <code>INVALID_ACCESS_ERR</code> exception and abort these steps.
+
+     <li>
       <p>If the <var title="">value</var> argument wasn't specified, abort
        these steps without doing anything.
 

Modified: source
===================================================================
--- source	2008-08-11 23:26:06 UTC (rev 2048)
+++ source	2008-08-11 23:39:21 UTC (rev 2049)
@@ -39376,6 +39376,9 @@
     <p><strong>Action:</strong> The user agent must run the following
     steps:</p>
     <ol>
+     <li><p>If the document is an <span>XML document</span>, then
+     throw an <code>INVALID_ACCESS_ERR</code> exception and abort
+     these steps.</p></li>
      <li><p>If the <var title="">value</var> argument wasn't
      specified, abort these steps without doing anything.</p></li>
      <li><p>If there is a selection, act as if the user had requested




More information about the Commit-Watchers mailing list