Skip to content

Commit

Permalink
[t] (0) Propagate the quirks mode to the fragment parser in preparati…
Browse files Browse the repository at this point in the history
…on to speccing the parsing quirks. (credit: hs) (bug 6563)

git-svn-id: http://svn.whatwg.org/webapps@2935 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Mar 31, 2009
1 parent 45e6009 commit dee25af
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 6 deletions.
19 changes: 16 additions & 3 deletions index
Expand Up @@ -49737,9 +49737,9 @@ http://developer.apple.com/documentation/AppleApplications/Conceptual/SafariJSPr
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>
Expand Down Expand Up @@ -57780,6 +57780,19 @@ http://lxr.mozilla.org/seamonkey/search?string=nested

</li>

<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
Expand Down
20 changes: 17 additions & 3 deletions source
Expand Up @@ -58012,9 +58012,9 @@ http://developer.apple.com/documentation/AppleApplications/Conceptual/SafariJSPr
that <a href="#contenteditable-delete">the selection be
deleted</a>.</p></li>
<li><p>Invoke the <span>HTML fragment parsing algorithm</span>
with an arbitrary orphan <code>body</code> element as the
<i>context</i> element and with the <var title="">value</var>
argument as <i>input</i>.</p></li>
with an arbitrary orphan <code>body</code> element owned by the
same <code>Document</code> as the <i>context</i> element and with
the <var title="">value</var> argument as <i>input</i>.</p></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.</p></li>
Expand Down Expand Up @@ -70350,6 +70350,20 @@ http://lxr.mozilla.org/seamonkey/search?string=nested

</li>

<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 <span>quirks mode</span>, then let the <code>Document</code>
be in <span>quirks mode</span>. Otherwise, if there is a <var
title="">context</var> element, and the <code>Document</code> of
the <var title="">context</var> element is in <span>limited quirks
mode</span>, then let the <code>Document</code> be in
<span>limited quirks mode</span>. Otherwise, leave the
<code>Document</code> in <span>no quirks mode</span>.</p>

</li>

<li>

<p>Create a new <span>HTML parser</span>, and associate it with
Expand Down

0 comments on commit dee25af

Please sign in to comment.