[html5] r1346 - /
whatwg at whatwg.org
whatwg at whatwg.org
Tue Mar 4 21:46:04 PST 2008
Author: ianh
Date: 2008-03-04 21:46:02 -0800 (Tue, 04 Mar 2008)
New Revision: 1346
Modified:
index
source
Log:
[e] (0) Make the places that switch the insertion mode use more consistent terminology.
Modified: index
===================================================================
--- index 2008-03-05 05:40:21 UTC (rev 1345)
+++ index 2008-03-05 05:46:02 UTC (rev 1346)
@@ -40524,7 +40524,7 @@
these modes, the user agent must use the rules described under that <a
href="#insertion0">insertion mode</a>'s section, but must leave the <a
href="#insertion0">insertion mode</a> unchanged (unless the rules in that
- section themselves change the <a href="#insertion0">insertion mode</a>).
+ section themselves switch the <a href="#insertion0">insertion mode</a>).
<p>In addition to the <a href="#insertion0">insertion mode</a>, the tree
construction stage has several pieces of state: a <a href="#stack">stack
@@ -41004,7 +41004,7 @@
can the head element pointer ever be non-null when we're going
through these steps? -->
- <li>If <var title="">last</var> is true, then set the <a
+ <li>If <var title="">last</var> is true, then switch the <a
href="#insertion0">insertion mode</a> to "<a href="#in-body"
title="insertion mode: in body">in body</a>" and abort these steps. (<a
href="#fragment">fragment case</a>)
@@ -41365,7 +41365,7 @@
compared to the values given in the lists above in a
case-insensitive<!-- ASCII --> manner.</p>
- <p>Then, change the <a href="#insertion0">insertion mode</a> to "<a
+ <p>Then, switch the <a href="#insertion0">insertion mode</a> to "<a
href="#before4" title="insertion mode: before html">before html</a>".</p>
<dt>A start tag token
@@ -41383,7 +41383,7 @@
<p>Set the document to <a href="#quirks">quirks mode</a>.</p>
- <p>Then, change the <a href="#insertion0">insertion mode</a> to "<a
+ <p>Then, switch the <a href="#insertion0">insertion mode</a> to "<a
href="#before4" title="insertion mode: before html">before html</a>".</p>
</dl>
@@ -41429,7 +41429,7 @@
title=concept-appcache-init-no-attribute>application cache selection
algorithm</a> with no manifest.</p>
- <p>Change the <a href="#insertion0">insertion mode</a> to "<a
+ <p>Switch the <a href="#insertion0">insertion mode</a> to "<a
href="#before5" title="insertion mode: before head">before head</a>".</p>
<dt>A character token that is <em>not</em> one of U+0009 CHARACTER
@@ -41453,7 +41453,7 @@
title=concept-appcache-init-no-attribute>application cache selection
algorithm</a> with no manifest.</p>
- <p>Change the <a href="#insertion0">insertion mode</a> to "<a
+ <p>Switch the <a href="#insertion0">insertion mode</a> to "<a
href="#before5" title="insertion mode: before head">before head</a>".</p>
<p class=big-issue>Should probably make end tags be ignored, so that
@@ -41517,7 +41517,7 @@
<p>Append the new element to the <a href="#current4">current node</a> and
push it onto the <a href="#stack">stack of open elements</a>.</p>
- <p>Change the <a href="#insertion0">insertion mode</a> to "<a
+ <p>Switch the <a href="#insertion0">insertion mode</a> to "<a
href="#in-head" title="insertion mode: in head">in head</a>".</p>
<dt>An end tag whose tag name is one of: "head", "body", "html", "p", "br"
@@ -41640,7 +41640,7 @@
<dd>
<p><a href="#insert0">Insert an HTML element</a> for the token.</p>
- <p>Change the <a href="#insertion0">insertion mode</a> to "<a
+ <p>Switch the <a href="#insertion0">insertion mode</a> to "<a
href="#in-head0" title="insertion mode: in head noscript">in head
noscript</a>".</p>
@@ -41770,7 +41770,7 @@
<code><a href="#head">head</a></code> element) off the <a
href="#stack">stack of open elements</a>.</p>
- <p>Change the <a href="#insertion0">insertion mode</a> to "<a
+ <p>Switch the <a href="#insertion0">insertion mode</a> to "<a
href="#after4" title="insertion mode: after head">after head</a>".</p>
<dt>An end tag whose tag name is one of: "body", "html", "p", "br"
@@ -41912,7 +41912,7 @@
<dd>
<p><a href="#insert0">Insert an HTML element</a> for the token.</p>
- <p>Change the <a href="#insertion0">insertion mode</a> to "<a
+ <p>Switch the <a href="#insertion0">insertion mode</a> to "<a
href="#in-body" title="insertion mode: in body">in body</a>".</p>
<dt>A start tag whose tag name is "frameset"
@@ -41920,7 +41920,7 @@
<dd>
<p><a href="#insert0">Insert an HTML element</a> for the token.</p>
- <p>Change the <a href="#insertion0">insertion mode</a> to "<a
+ <p>Switch the <a href="#insertion0">insertion mode</a> to "<a
href="#in-frameset" title="insertion mode: in frameset">in
frameset</a>".</p>
@@ -42038,7 +42038,7 @@
href="#html">html</a></code> element, then this is a <a
href="#parse0">parse error</a>.</p>
- <p>Change the <a href="#insertion0">insertion mode</a> to "<a
+ <p>Switch the <a href="#insertion0">insertion mode</a> to "<a
href="#after5" title="insertion mode: after body">after body</a>".</p>
<dt>An end tag whose tag name is "html"
@@ -42666,7 +42666,7 @@
<!-- XXX quirks: don't do this -->
<p><a href="#insert0">Insert an HTML element</a> for the token.</p>
- <p>Change the <a href="#insertion0">insertion mode</a> to "<a
+ <p>Switch the <a href="#insertion0">insertion mode</a> to "<a
href="#in-table" title="insertion mode: in table">in table</a>".</p>
<dt>A start tag whose tag name is one of: "area", "basefont", "bgsound",
@@ -42847,9 +42847,9 @@
group</a>", "<a href="#in-table0" title="insertion mode: in table
body">in table body</a>", "<a href="#in-row" title="insertion mode: in
row">in row</a>", or "<a href="#in-cell" title="insertion mode: in
- cell">in cell</a>", then change the <a href="#insertion0">insertion
+ cell">in cell</a>", then switch the <a href="#insertion0">insertion
mode</a> to "<a href="#in-select0" title="insertion mode: in select in
- table">in select in table</a>". Otherwise, change the <a
+ table">in select in table</a>". Otherwise, switch the <a
href="#insertion0">insertion mode</a> to "<a href="#in-select"
title="insertion mode: in select">in select</a>".</p>
@@ -43781,14 +43781,14 @@
href="#parse0">parse error</a>; ignore the token. (<a
href="#fragment">fragment case</a>)</p>
<!-- can only happen for <html>'s own innerHTML -->
- <p>Otherwise, change the <a href="#insertion0">insertion mode</a> to "<a
+ <p>Otherwise, switch the <a href="#insertion0">insertion mode</a> to "<a
href="#after7" title="insertion mode: after after body">after after
body</a>".</p>
<dt>Anything else
<dd>
- <p><a href="#parse0">Parse error</a>. Set the <a
+ <p><a href="#parse0">Parse error</a>. Switch the <a
href="#insertion0">insertion mode</a> to "<a href="#in-body"
title="insertion mode: in body">in body</a>" and reprocess the token.</p>
</dl>
@@ -43853,7 +43853,7 @@
<p>If the parser was <em>not</em> originally created as part of the <a
href="#html-fragment0">HTML fragment parsing algorithm</a> (<a
href="#fragment">fragment case</a>), and the <a href="#current4">current
- node</a> is no longer a <code>frameset</code> element, then change the
+ node</a> is no longer a <code>frameset</code> element, then switch the
<a href="#insertion0">insertion mode</a> to "<a href="#after6"
title="insertion mode: after frameset">after frameset</a>".</p>
@@ -43924,7 +43924,7 @@
<dt>An end tag whose tag name is "html"
<dd>
- <p>Change the <a href="#insertion0">insertion mode</a> to "<a
+ <p>Switch the <a href="#insertion0">insertion mode</a> to "<a
href="#after8" title="insertion mode: after after frameset">after after
frameset</a>".</p>
@@ -43975,7 +43975,7 @@
<dt>Anything else
<dd>
- <p><a href="#parse0">Parse error</a>. Set the <a
+ <p><a href="#parse0">Parse error</a>. Switch the <a
href="#insertion0">insertion mode</a> to "<a href="#in-body"
title="insertion mode: in body">in body</a>" and reprocess the token.</p>
</dl>
@@ -44017,7 +44017,7 @@
<dt>Anything else
<dd>
- <p><a href="#parse0">Parse error</a>. Set the <a
+ <p><a href="#parse0">Parse error</a>. Switch the <a
href="#insertion0">insertion mode</a> to "<a href="#in-frameset"
title="insertion mode: in frameset">in frameset</a>" and reprocess the
token.</p>
Modified: source
===================================================================
--- source 2008-03-05 05:40:21 UTC (rev 1345)
+++ source 2008-03-05 05:46:02 UTC (rev 1346)
@@ -37811,7 +37811,7 @@
of these modes, the user agent must use the rules described under
that <span>insertion mode</span>'s section, but must leave the
<span>insertion mode</span> unchanged (unless the rules in that
- section themselves change the <span>insertion mode</span>).</p>
+ section themselves switch the <span>insertion mode</span>).</p>
<p>In addition to the <span>insertion mode</span>, the tree
construction stage has several pieces of state: a <span>stack of
@@ -38255,7 +38255,7 @@
can the head element pointer ever be non-null when we're going
through these steps? -->
- <li>If <var title="">last</var> is true, then set the
+ <li>If <var title="">last</var> is true, then switch the
<span>insertion mode</span> to "<span title="insertion mode: in
body">in body</span>" and abort these steps. (<span>fragment
case</span>)</li>
@@ -38462,7 +38462,7 @@
be compared to the values given in the lists above in a
case-insensitive<!-- ASCII --> manner.</p>
- <p>Then, change the <span>insertion mode</span> to "<span
+ <p>Then, switch the <span>insertion mode</span> to "<span
title="insertion mode: before html">before html</span>".</p>
</dd>
@@ -38479,7 +38479,7 @@
<p>Set the document to <span>quirks mode</span>.</p>
- <p>Then, change the <span>insertion mode</span> to "<span
+ <p>Then, switch the <span>insertion mode</span> to "<span
title="insertion mode: before html">before html</span>".</p>
</dd>
@@ -38529,7 +38529,7 @@
title="concept-appcache-init-no-attribute">application cache
selection algorithm</span> with no manifest.</p>
- <p>Change the <span>insertion mode</span> to "<span
+ <p>Switch the <span>insertion mode</span> to "<span
title="insertion mode: before head">before head</span>".</p>
</dd>
@@ -38551,7 +38551,7 @@
title="concept-appcache-init-no-attribute">application cache
selection algorithm</span> with no manifest.</p>
- <p>Change the <span>insertion mode</span> to "<span
+ <p>Switch the <span>insertion mode</span> to "<span
title="insertion mode: before head">before head</span>".</p>
<p class="big-issue">Should probably make end tags be ignored, so
@@ -38618,7 +38618,7 @@
<p>Append the new element to the <span>current node</span> and
push it onto the <span>stack of open elements</span>.</p>
- <p>Change the <span>insertion mode</span> to "<span
+ <p>Switch the <span>insertion mode</span> to "<span
title="insertion mode: in head">in head</span>".</p>
</dd>
@@ -38750,7 +38750,7 @@
<p><span>Insert an HTML element</span> for the token.</p>
- <p>Change the <span>insertion mode</span> to "<span
+ <p>Switch the <span>insertion mode</span> to "<span
title="insertion mode: in head noscript">in head
noscript</span>".</p>
@@ -38888,7 +38888,7 @@
<code>head</code> element) off the <span>stack of open
elements</span>.</p>
- <p>Change the <span>insertion mode</span> to "<span
+ <p>Switch the <span>insertion mode</span> to "<span
title="insertion mode: after head">after head</span>".</p>
</dd>
@@ -39036,7 +39036,7 @@
<p><span>Insert an HTML element</span> for the token.</p>
- <p>Change the <span>insertion mode</span> to "<span
+ <p>Switch the <span>insertion mode</span> to "<span
title="insertion mode: in body">in body</span>".</p>
</dd>
@@ -39046,7 +39046,7 @@
<p><span>Insert an HTML element</span> for the token.</p>
- <p>Change the <span>insertion mode</span> to "<span
+ <p>Switch the <span>insertion mode</span> to "<span
title="insertion mode: in frameset">in frameset</span>".</p>
</dd>
@@ -39169,7 +39169,7 @@
<code>html</code> element, then this is a <span>parse
error</span>.</p>
- <p>Change the <span>insertion mode</span> to "<span
+ <p>Switch the <span>insertion mode</span> to "<span
title="insertion mode: after body">after body</span>".</p>
</dd>
@@ -39844,7 +39844,7 @@
<p><span>Insert an HTML element</span> for the token.</p>
- <p>Change the <span>insertion mode</span> to "<span
+ <p>Switch the <span>insertion mode</span> to "<span
title="insertion mode: in table">in table</span>".</p>
</dd>
@@ -40047,9 +40047,9 @@
"<span title="insertion mode: in table body">in table
body</span>", "<span title="insertion mode: in row">in
row</span>", or "<span title="insertion mode: in cell">in
- cell</span>", then change the <span>insertion mode</span> to
+ cell</span>", then switch the <span>insertion mode</span> to
"<span title="insertion mode: in select in table">in select in
- table</span>". Otherwise, change the <span>insertion mode</span>
+ table</span>". Otherwise, switch the <span>insertion mode</span>
to "<span title="insertion mode: in select">in select</span>".</p>
</dd>
@@ -41045,7 +41045,7 @@
error</span>; ignore the token. (<span>fragment case</span>)</p>
<!-- can only happen for <html>'s own innerHTML -->
- <p>Otherwise, change the <span>insertion mode</span> to "<span
+ <p>Otherwise, switch the <span>insertion mode</span> to "<span
title="insertion mode: after after body">after after
body</span>".</p>
@@ -41054,7 +41054,7 @@
<dt>Anything else</dt>
<dd>
- <p><span>Parse error</span>. Set the <span>insertion
+ <p><span>Parse error</span>. Switch the <span>insertion
mode</span> to "<span title="insertion mode: in body">in
body</span>" and reprocess the token.</p>
@@ -41123,7 +41123,7 @@
of the <span>HTML fragment parsing algorithm</span>
(<span>fragment case</span>), and the <span>current
node</span> is no longer a <code>frameset</code> element, then
- change the <span>insertion mode</span> to "<span
+ switch the <span>insertion mode</span> to "<span
title="insertion mode: after frameset">after
frameset</span>".</p>
@@ -41195,7 +41195,7 @@
<dt>An end tag whose tag name is "html"</dt>
<dd>
- <p>Change the <span>insertion mode</span> to "<span
+ <p>Switch the <span>insertion mode</span> to "<span
title="insertion mode: after after frameset">after after
frameset</span>".</p>
</dd>
@@ -41246,7 +41246,7 @@
<dt>Anything else</dt>
<dd>
- <p><span>Parse error</span>. Set the <span>insertion mode</span>
+ <p><span>Parse error</span>. Switch the <span>insertion mode</span>
to "<span title="insertion mode: in body">in body</span>" and
reprocess the token.</p>
</dd>
@@ -41287,7 +41287,7 @@
<dt>Anything else</dt>
<dd>
- <p><span>Parse error</span>. Set the <span>insertion mode</span>
+ <p><span>Parse error</span>. Switch the <span>insertion mode</span>
to "<span title="insertion mode: in frameset">in frameset</span>" and
reprocess the token.</p>
</dd>
More information about the Commit-Watchers
mailing list