spec/Overview.html 1.2100 2935 Propagate the quirks mode to the fragmen

Propagate the quirks mode to the fragment parser in preparation to
speccing the parsing quirks. (credit: hs) (bug 6563) (whatwg r2935)
http://www.w3.org/Bugs/Public/show_bug.cgi?id=6563

fragment case
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2100.html#fragment-case
insertHTML
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2100.html#command-inserthtml

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2099&r2=1.2100&f=h
http://html5.org/tools/web-apps-tracker?from=2934&to=2935

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2099
retrieving revision 1.2100
diff -u -d -r1.2099 -r1.2100
--- Overview.html 31 Mar 2009 04:05:55 -0000 1.2099
+++ Overview.html 31 Mar 2009 04:16:58 -0000 1.2100
@@ -44464,9 +44464,9 @@
      that <a href=#contenteditable-delete>the selection be
      deleted</a>.</li>
      <li><p>Invoke the <a href=#html-fragment-parsing-algorithm>HTML fragment parsing algorithm</a>
-     with an arbitrary orphan <code><a href=#the-body-element>body</a></code> element as the
-     <i><a href=#context>context</a></i> element and with the <var title="">value</var>
-     argument as <i><a href=#the-input-element>input</a></i>.</li>
+     with an arbitrary orphan <code><a href=#the-body-element>body</a></code> element owned by the
+     same <code>Document</code> as the <i><a href=#context>context</a></i> element and with
+     the <var title="">value</var> argument as <i><a href=#the-input-element>input</a></i>.</li>
      <li><p>Insert the nodes returned by the previous step into the
      document at the location of the caret, firing any mutation events
      as appropriate.</li>
@@ -52208,6 +52208,19 @@
 
    <li>
 
+    <p>If there is a <var title="">context</var> element, and the
+    <code>Document</code> of the <var title="">context</var> element
+    is in <a href=#quirks-mode>quirks mode</a>, then let the <code>Document</code>
+    be in <a href=#quirks-mode>quirks mode</a>. Otherwise, if there is a <var title="">context</var> element, and the <code>Document</code> of
+    the <var title="">context</var> element is in <a href=#limited-quirks-mode>limited quirks
+    mode</a>, then let the <code>Document</code> be in
+    <a href=#limited-quirks-mode>limited quirks mode</a>. Otherwise, leave the
+    <code>Document</code> in <a href=#no-quirks-mode>no quirks mode</a>.</p>
+
+   </li>
+
+   <li>
+
     <p>Create a new <a href=#html-parser>HTML parser</a>, and associate it with
     the just created <code>Document</code> node.</p>

Received on Tuesday, 31 March 2009 04:19:34 UTC