[html5] r2703 - [ct] (0) Allow <frameset> to override the 'in body' mode in certain cases for co [...]

whatwg at whatwg.org whatwg at whatwg.org
Fri Jan 23 17:52:22 PST 2009


Author: ianh
Date: 2009-01-23 17:52:21 -0800 (Fri, 23 Jan 2009)
New Revision: 2703

Modified:
   index
   source
Log:
[ct] (0) Allow <frameset> to override the 'in body' mode in certain cases for compatibility with IE and pages that rely on IE's behaviour.

Modified: index
===================================================================
--- index	2009-01-24 00:32:38 UTC (rev 2702)
+++ index	2009-01-24 01:52:21 UTC (rev 2703)
@@ -930,7 +930,7 @@
        <li><a href=#the-stack-of-open-elements><span class=secno>8.2.3.2 </span>The stack of open elements</a></li>
        <li><a href=#the-list-of-active-formatting-elements><span class=secno>8.2.3.3 </span>The list of active formatting elements</a></li>
        <li><a href=#the-element-pointers><span class=secno>8.2.3.4 </span>The element pointers</a></li>
-       <li><a href=#the-scripting-state><span class=secno>8.2.3.5 </span>The scripting state</a></ol></li>
+       <li><a href=#other-parsing-state-flags><span class=secno>8.2.3.5 </span>Other parsing state flags</a></ol></li>
      <li><a href=#tokenization><span class=secno>8.2.4 </span>Tokenization</a>
       <ol>
        <li><a href=#data-state><span class=secno>8.2.4.1 </span>Data state</a></li>
@@ -48049,13 +48049,16 @@
   markup, for historical reasons.</p>
 
 
-  <h5 id=the-scripting-state><span class=secno>8.2.3.5 </span>The scripting state</h5>
+  <h5 id=other-parsing-state-flags><span class=secno>8.2.3.5 </span>Other parsing state flags</h5>
 
   <p>The <dfn id=scripting-flag>scripting flag</dfn> is set to "enabled" if the <a href=#concept-n-script title=concept-n-script>scripting was enabled</a> for the
   <code>Document</code> with which the parser is associated when the
   parser was created, and "disabled" otherwise.</p>
 
+  <p>The <dfn id=frameset-ok-flag>frameset-ok flag</dfn> is set to "ok" when the parser is
+  created. It is set to "not ok" after certain tokens are seen.</p>
 
+
   <h4 id=tokenization><span class=secno>8.2.4 </span><dfn>Tokenization</dfn></h4>
 
   <p>Implementations must act as if they used the following state
@@ -49671,7 +49674,7 @@
   <p>When the <a href=#insertion-mode>insertion mode</a> is "<a href=#the-initial-insertion-mode title="insertion
   mode: initial">initial</a>", tokens must be handled as follows:</p>
 
-  <dl class=switch><dt>A character token that is one of one of U+0009 CHARACTER
+  <dl class=switch><dt>A character token that is one of U+0009 CHARACTER
    TABULATION, U+000A LINE FEED (LF), U+000C FORM FEED (FF),
    <!--U+000D CARRIAGE RETURN (CR),--> or U+0020 SPACE</dt>
    <dd>
@@ -49843,7 +49846,7 @@
     data given in the comment token.</p>
    </dd>
 
-   <dt>A character token that is one of one of U+0009 CHARACTER
+   <dt>A character token that is one of U+0009 CHARACTER
    TABULATION, U+000A LINE FEED (LF), U+000C FORM FEED (FF),
    <!--U+000D CARRIAGE RETURN (CR),--> or U+0020 SPACE</dt>
    <dd>
@@ -49907,7 +49910,7 @@
   <p>When the <a href=#insertion-mode>insertion mode</a> is "<a href=#the-before-head-insertion-mode title="insertion
   mode: before head">before head</a>", tokens must be handled as follows:</p>
 
-  <dl class=switch><dt>A character token that is one of one of U+0009 CHARACTER
+  <dl class=switch><dt>A character token that is one of U+0009 CHARACTER
    TABULATION, U+000A LINE FEED (LF), U+000C FORM FEED (FF),
    <!--U+000D CARRIAGE RETURN (CR),--> or U+0020 SPACE</dt>
    <dd>
@@ -49978,7 +49981,7 @@
   <p>When the <a href=#insertion-mode>insertion mode</a> is "<a href=#parsing-main-inhead title="insertion
   mode: in head">in head</a>", tokens must be handled as follows:</p>
 
-  <dl class=switch><dt>A character token that is one of one of U+0009 CHARACTER
+  <dl class=switch><dt>A character token that is one of U+0009 CHARACTER
    TABULATION, U+000A LINE FEED (LF), U+000C FORM FEED (FF),
    <!--U+000D CARRIAGE RETURN (CR),--> or U+0020 SPACE</dt>
    <dd>
@@ -50166,7 +50169,7 @@
 
    </dd>
 
-   <dt>A character token that is one of one of U+0009 CHARACTER
+   <dt>A character token that is one of U+0009 CHARACTER
    TABULATION, U+000A LINE FEED (LF), U+000C FORM FEED (FF),
    <!--U+000D CARRIAGE RETURN (CR),--> or U+0020 SPACE</dt>
    <dt>A comment token</dt>
@@ -50203,7 +50206,7 @@
   <p>When the <a href=#insertion-mode>insertion mode</a> is "<a href=#the-after-head-insertion-mode title="insertion
   mode: after head">after head</a>", tokens must be handled as follows:</p>
 
-  <dl class=switch><dt>A character token that is one of one of U+0009 CHARACTER
+  <dl class=switch><dt>A character token that is one of U+0009 CHARACTER
    TABULATION, U+000A LINE FEED (LF), U+000C FORM FEED (FF),
    <!--U+000D CARRIAGE RETURN (CR),--> or U+0020 SPACE</dt>
    <dd>
@@ -50296,6 +50299,11 @@
     <p><a href=#insert-a-character title="insert a character">Insert the token's
     character</a> into the <a href=#current-node>current node</a>.</p>
 
+    <p>If the token is not one of U+0009 CHARACTER TABULATION, U+000A
+    LINE FEED (LF), U+000C FORM FEED (FF), <!--U+000D CARRIAGE RETURN
+    (CR),--> or U+0020 SPACE, then set the <a href=#frameset-ok-flag>frameset-ok
+    flag</a> to "not ok".</p>
+
    </dd>
 
    <dt>A comment token</dt>
@@ -50344,6 +50352,35 @@
 
    </dd>
 
+   <dt>A start tag whose tag name is "frameset"</dt>
+   <dd>
+
+    <p><a href=#parse-error>Parse error</a>.</p>
+
+    <p>If the second element on the <a href=#stack-of-open-elements>stack of open
+    elements</a> is not a <code><a href=#the-body-element>body</a></code> element, or, if the
+    <a href=#stack-of-open-elements>stack of open elements</a> has only one node on it,
+    then ignore the token. (<a href=#fragment-case>fragment case</a>)</p>
+
+    <p>If the <a href=#frameset-ok-flag>frameset-ok flag</a> is set to "not ok", ignore
+    the token.</p>
+
+    <p>Otherwise, run the following steps:</p>
+
+    <ol><li><p>Remove the second element on the <a href=#stack-of-open-elements>stack of open
+     elements</a> from its parent node, if it has one.</li>
+
+     <li><p>Pop all the nodes from the bottom of the <a href=#stack-of-open-elements>stack of
+     open elements</a>, from the <a href=#current-node>current node</a> up to
+     the root <code><a href=#the-html-element>html</a></code> element.</p>
+
+     <li><p><a href=#insert-an-html-element>Insert an HTML element</a> for the
+     token.</li>
+
+     <li><p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#parsing-main-inframeset title="insertion mode: in frameset">in frameset</a>".</p>
+
+    </ol></dd>
+
    <dt>An end-of-file token</dt>
    <dd>
 
@@ -50458,6 +50495,8 @@
     one. (Newlines at the start of <code><a href=#the-pre-element>pre</a></code> blocks are
     ignored as an authoring convenience.)</p>
 
+    <p>Set the <a href=#frameset-ok-flag>frameset-ok flag</a> to "not ok".</p>
+
    </dd>
 
    <!-- as normal, but interacts with the form element pointer -->
@@ -50487,7 +50526,9 @@
 
     <p>Run the following algorithm:</p>
 
-    <ol><li><p>Initialize <var title="">node</var> to be the <a href=#current-node>current
+    <ol><li><p>Set the <a href=#frameset-ok-flag>frameset-ok flag</a> to "not ok".</li>
+
+     <li><p>Initialize <var title="">node</var> to be the <a href=#current-node>current
      node</a> (the bottommost node of the stack).</li>
 
      <li><p>If <var title="">node</var> is an <code><a href=#the-li-element>li</a></code> element,
@@ -50533,7 +50574,9 @@
 
     <p>Run the following algorithm:</p>
 
-    <ol><li><p>Initialize <var title="">node</var> to be the <a href=#current-node>current
+    <ol><li><p>Set the <a href=#frameset-ok-flag>frameset-ok flag</a> to "not ok".</li>
+
+     <li><p>Initialize <var title="">node</var> to be the <a href=#current-node>current
      node</a> (the bottommost node of the stack).</li>
 
      <li><p>If <var title="">node</var> is a <code><a href=#the-dd-element>dd</a></code> or
@@ -50978,6 +51021,8 @@
     <p>Insert a marker at the end of the <a href=#list-of-active-formatting-elements>list of active
     formatting elements</a>.</p>
 
+    <p>Set the <a href=#frameset-ok-flag>frameset-ok flag</a> to "not ok".</p>
+
    </dd>
 
    <dt>A start tag token whose tag name is one of: "applet",
@@ -50992,6 +51037,8 @@
     <p>Insert a marker at the end of the <a href=#list-of-active-formatting-elements>list of active
     formatting elements</a>.</p>
 
+    <p>Set the <a href=#frameset-ok-flag>frameset-ok flag</a> to "not ok".</p>
+
    </dd>
 
    <dt>An end tag token whose tag name is one of: "applet", "button",
@@ -51019,16 +51066,6 @@
 
     </ol></dd>
 
-   <dt>A start tag whose tag name is "xmp"</dt>
-   <dd>
-
-    <p><a href=#reconstruct-the-active-formatting-elements>Reconstruct the active formatting elements</a>, if
-    any.</p>
-
-    <p>Follow the <a href=#generic-cdata-element-parsing-algorithm>generic CDATA element parsing algorithm</a>.</p>
-
-   </dd>
-
    <dt>A start tag whose tag name is "table"</dt>
    <dd>
 
@@ -51039,6 +51076,8 @@
 
     <p><a href=#insert-an-html-element>Insert an HTML element</a> for the token.</p>
 
+    <p>Set the <a href=#frameset-ok-flag>frameset-ok flag</a> to "not ok".</p>
+
     <p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#parsing-main-intable title="insertion mode: in table">in table</a>".</p>
 
    </dd>
@@ -51057,6 +51096,10 @@
     <p><a href=#acknowledge-self-closing-flag title="acknowledge self-closing flag">Acknowledge the
     token's <i>self-closing flag</i></a>, if it is set.</p>
 
+    <p>Set the <a href=#frameset-ok-flag>frameset-ok flag</a> to "not ok".</p> <!--
+    shouldn't really do it for <area>, <basefont>, <bgsound>, and
+    <spacer> -->
+
    </dd>
 
    <dt>A start tag whose tag name is one of: "param", "source"</dt>
@@ -51086,6 +51129,8 @@
     <p><a href=#acknowledge-self-closing-flag title="acknowledge self-closing flag">Acknowledge the
     token's <i>self-closing flag</i></a>, if it is set.</p>
 
+    <p>Set the <a href=#frameset-ok-flag>frameset-ok flag</a> to "not ok".</p>
+
    </dd>
 
    <dt>A start tag whose tag name is "image"</dt>
@@ -51187,15 +51232,41 @@
      <li><p>Let the <a href=#original-insertion-mode>original insertion mode</a> be the
      current <a href=#insertion-mode>insertion mode</a>.</p>
 
+     <li><p>Set the <a href=#frameset-ok-flag>frameset-ok flag</a> to "not
+     ok".</li>
+
      <li><p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#parsing-main-incdata title="insertion mode: in CDATA/RCDATA">in
      CDATA/RCDATA</a>".</li>
 
     </ol></dd>
 
-   <dt>A start tag whose tag name is one of: "iframe", "noembed"</dt>
+   <dt>A start tag whose tag name is "xmp"</dt>
+   <dd>
+
+    <p><a href=#reconstruct-the-active-formatting-elements>Reconstruct the active formatting elements</a>, if
+    any.</p>
+
+    <p>Set the <a href=#frameset-ok-flag>frameset-ok flag</a> to "not ok".</p>
+
+    <p>Follow the <a href=#generic-cdata-element-parsing-algorithm>generic CDATA element parsing algorithm</a>.</p>
+
+   </dd>
+
+   <dt>A start tag whose tag name is "iframe"</dt>
+   <dd>
+
+    <p>Set the <a href=#frameset-ok-flag>frameset-ok flag</a> to "not ok".</p>
+
+    <p>Follow the <a href=#generic-cdata-element-parsing-algorithm>generic CDATA element parsing algorithm</a>.</p>
+
+   </dd>
+
+   <dt>A start tag whose tag name is "noembed"</dt>
    <dt>A start tag whose tag name is "noscript", if the <a href=#scripting-flag>scripting flag</a> is enabled</dt>
    <dd>
+
     <p>Follow the <a href=#generic-cdata-element-parsing-algorithm>generic CDATA element parsing algorithm</a>.</p>
+
    </dd>
 
    <dt>A start tag whose tag name is "select"</dt>
@@ -51206,6 +51277,8 @@
 
     <p><a href=#insert-an-html-element>Insert an HTML element</a> for the token.</p>
 
+    <p>Set the <a href=#frameset-ok-flag>frameset-ok flag</a> to "not ok".</p>
+
     <p>If the <a href=#insertion-mode>insertion mode</a> is one of <a href=#parsing-main-intable title="insertion mode: in table">in table</a>", "<a href=#parsing-main-incaption title="insertion mode: in caption">in caption</a>", "<a href=#parsing-main-incolgroup title="insertion mode: in column group">in column group</a>",
     "<a href=#parsing-main-intbody title="insertion mode: in table body">in table
     body</a>", "<a href=#parsing-main-intr title="insertion mode: in row">in
@@ -51330,8 +51403,8 @@
 -->
 
    <dt>A start <!--or end--> tag whose tag name is one of: "caption",
-   "col", "colgroup", "frame", "frameset", "head", "tbody", "td",
-   "tfoot", "th", "thead", "tr"</dt>
+   "col", "colgroup", "frame", "head", "tbody", "td", "tfoot", "th",
+   "thead", "tr"</dt>
    <!--<dt>An end tag whose tag name is one of: "area", "base",
    "basefont", "bgsound", "command", "embed", "eventsource", "hr",
    "iframe", "image", "img", "input", "isindex", "link", "meta",
@@ -51521,7 +51594,7 @@
   <p>When the <a href=#insertion-mode>insertion mode</a> is "<a href=#parsing-main-intable title="insertion
   mode: in table">in table</a>", tokens must be handled as follows:</p>
 
-  <dl class=switch><dt>A character token that is one of one of U+0009 CHARACTER
+  <dl class=switch><dt>A character token that is one of U+0009 CHARACTER
    TABULATION, U+000A LINE FEED (LF), U+000C FORM FEED (FF),
    <!--U+000D CARRIAGE RETURN (CR),--> or U+0020 SPACE</dt>
    <dd>
@@ -51765,7 +51838,7 @@
   <p>When the <a href=#insertion-mode>insertion mode</a> is "<a href=#parsing-main-incolgroup title="insertion
   mode: in column group">in column group</a>", tokens must be handled as follows:</p>
 
-  <dl class=switch><dt>A character token that is one of one of U+0009 CHARACTER
+  <dl class=switch><dt>A character token that is one of U+0009 CHARACTER
    TABULATION, U+000A LINE FEED (LF), U+000C FORM FEED (FF),
    <!--U+000D CARRIAGE RETURN (CR),--> or U+0020 SPACE</dt>
    <dd>
@@ -52461,7 +52534,7 @@
   <p>When the <a href=#insertion-mode>insertion mode</a> is "<a href=#parsing-main-afterbody title="insertion
   mode: after body">after body</a>", tokens must be handled as follows:</p>
 
-  <dl class=switch><dt>A character token that is one of one of U+0009 CHARACTER
+  <dl class=switch><dt>A character token that is one of U+0009 CHARACTER
    TABULATION, U+000A LINE FEED (LF), U+000C FORM FEED (FF),
    <!--U+000D CARRIAGE RETURN (CR),--> or U+0020 SPACE</dt>
    <dd>
@@ -52519,7 +52592,7 @@
   <p>When the <a href=#insertion-mode>insertion mode</a> is "<a href=#parsing-main-inframeset title="insertion
   mode: in frameset">in frameset</a>", tokens must be handled as follows:</p>
 
-  <dl class=switch><dt>A character token that is one of one of U+0009 CHARACTER
+  <dl class=switch><dt>A character token that is one of U+0009 CHARACTER
    TABULATION, U+000A LINE FEED (LF), U+000C FORM FEED (FF),
    <!--U+000D CARRIAGE RETURN (CR),--> or U+0020 SPACE</dt>
    <dd>
@@ -52613,7 +52686,7 @@
   mode: after frameset">after frameset</a>", tokens must be handled as follows:</p>
 
   <!-- due to rules in the "in frameset" mode, this can't be entered in the fragment case -->
-  <dl class=switch><dt>A character token that is one of one of U+0009 CHARACTER
+  <dl class=switch><dt>A character token that is one of U+0009 CHARACTER
    TABULATION, U+000A LINE FEED (LF), U+000C FORM FEED (FF),
    <!--U+000D CARRIAGE RETURN (CR),--> or U+0020 SPACE</dt>
    <dd>
@@ -52680,7 +52753,7 @@
    </dd>
 
    <dt>A DOCTYPE token</dt>
-   <dt>A character token that is one of one of U+0009 CHARACTER
+   <dt>A character token that is one of U+0009 CHARACTER
    TABULATION, U+000A LINE FEED (LF), U+000C FORM FEED (FF),
    <!--U+000D CARRIAGE RETURN (CR),--> or U+0020 SPACE</dt>
    <dt>A start tag whose tag name is "html"</dt>
@@ -52714,7 +52787,7 @@
    </dd>
 
    <dt>A DOCTYPE token</dt>
-   <dt>A character token that is one of one of U+0009 CHARACTER
+   <dt>A character token that is one of U+0009 CHARACTER
    TABULATION, U+000A LINE FEED (LF), U+000C FORM FEED (FF),
    <!--U+000D CARRIAGE RETURN (CR),--> or U+0020 SPACE</dt>
    <dt>A start tag whose tag name is "html"</dt>

Modified: source
===================================================================
--- source	2009-01-24 00:32:38 UTC (rev 2702)
+++ source	2009-01-24 01:52:21 UTC (rev 2703)
@@ -54901,14 +54901,17 @@
   markup, for historical reasons.</p>
 
 
-  <h5>The scripting state</h5>
+  <h5>Other parsing state flags</h5>
 
   <p>The <dfn>scripting flag</dfn> is set to "enabled" if the <span
   title="concept-n-script">scripting was enabled</span> for the
   <code>Document</code> with which the parser is associated when the
   parser was created, and "disabled" otherwise.</p>
 
+  <p>The <dfn>frameset-ok flag</dfn> is set to "ok" when the parser is
+  created. It is set to "not ok" after certain tokens are seen.</p>
 
+
   <h4><dfn>Tokenization</dfn></h4>
 
   <p>Implementations must act as if they used the following state
@@ -56734,7 +56737,7 @@
 
   <dl class="switch">
 
-   <dt>A character token that is one of one of U+0009 CHARACTER
+   <dt>A character token that is one of U+0009 CHARACTER
    TABULATION, U+000A LINE FEED (LF), U+000C FORM FEED (FF),
    <!--U+000D CARRIAGE RETURN (CR),--> or U+0020 SPACE</dt>
    <dd>
@@ -56920,7 +56923,7 @@
     data given in the comment token.</p>
    </dd>
 
-   <dt>A character token that is one of one of U+0009 CHARACTER
+   <dt>A character token that is one of U+0009 CHARACTER
    TABULATION, U+000A LINE FEED (LF), U+000C FORM FEED (FF),
    <!--U+000D CARRIAGE RETURN (CR),--> or U+0020 SPACE</dt>
    <dd>
@@ -56993,7 +56996,7 @@
 
   <dl class="switch">
 
-   <dt>A character token that is one of one of U+0009 CHARACTER
+   <dt>A character token that is one of U+0009 CHARACTER
    TABULATION, U+000A LINE FEED (LF), U+000C FORM FEED (FF),
    <!--U+000D CARRIAGE RETURN (CR),--> or U+0020 SPACE</dt>
    <dd>
@@ -57071,7 +57074,7 @@
 
   <dl class="switch">
 
-   <dt>A character token that is one of one of U+0009 CHARACTER
+   <dt>A character token that is one of U+0009 CHARACTER
    TABULATION, U+000A LINE FEED (LF), U+000C FORM FEED (FF),
    <!--U+000D CARRIAGE RETURN (CR),--> or U+0020 SPACE</dt>
    <dd>
@@ -57280,7 +57283,7 @@
 
    </dd>
 
-   <dt>A character token that is one of one of U+0009 CHARACTER
+   <dt>A character token that is one of U+0009 CHARACTER
    TABULATION, U+000A LINE FEED (LF), U+000C FORM FEED (FF),
    <!--U+000D CARRIAGE RETURN (CR),--> or U+0020 SPACE</dt>
    <dt>A comment token</dt>
@@ -57323,7 +57326,7 @@
 
   <dl class="switch">
 
-   <dt>A character token that is one of one of U+0009 CHARACTER
+   <dt>A character token that is one of U+0009 CHARACTER
    TABULATION, U+000A LINE FEED (LF), U+000C FORM FEED (FF),
    <!--U+000D CARRIAGE RETURN (CR),--> or U+0020 SPACE</dt>
    <dd>
@@ -57427,6 +57430,11 @@
     <p><span title="insert a character">Insert the token's
     character</span> into the <span>current node</span>.</p>
 
+    <p>If the token is not one of U+0009 CHARACTER TABULATION, U+000A
+    LINE FEED (LF), U+000C FORM FEED (FF), <!--U+000D CARRIAGE RETURN
+    (CR),--> or U+0020 SPACE, then set the <span>frameset-ok
+    flag</span> to "not ok".</p>
+
    </dd>
 
    <dt>A comment token</dt>
@@ -57476,6 +57484,40 @@
 
    </dd>
 
+   <dt>A start tag whose tag name is "frameset"</dt>
+   <dd>
+
+    <p><span>Parse error</span>.</p>
+
+    <p>If the second element on the <span>stack of open
+    elements</span> is not a <code>body</code> element, or, if the
+    <span>stack of open elements</span> has only one node on it,
+    then ignore the token. (<span>fragment case</span>)</p>
+
+    <p>If the <span>frameset-ok flag</span> is set to "not ok", ignore
+    the token.</p>
+
+    <p>Otherwise, run the following steps:</p>
+
+    <ol>
+
+     <li><p>Remove the second element on the <span>stack of open
+     elements</span> from its parent node, if it has one.</p></li>
+
+     <li><p>Pop all the nodes from the bottom of the <span>stack of
+     open elements</span>, from the <span>current node</span> up to
+     the root <code>html</code> element.</p>
+
+     <li><p><span>Insert an HTML element</span> for the
+     token.</p></li>
+
+     <li><p>Switch the <span>insertion mode</span> to "<span
+     title="insertion mode: in frameset">in frameset</span>".</p>
+
+    </ol>
+
+   </dd>
+
    <dt>An end-of-file token</dt>
    <dd>
 
@@ -57592,6 +57634,8 @@
     one. (Newlines at the start of <code>pre</code> blocks are
     ignored as an authoring convenience.)</p>
 
+    <p>Set the <span>frameset-ok flag</span> to "not ok".</p>
+
    </dd>
 
    <!-- as normal, but interacts with the form element pointer -->
@@ -57623,6 +57667,8 @@
 
     <ol>
 
+     <li><p>Set the <span>frameset-ok flag</span> to "not ok".</p></li>
+
      <li><p>Initialize <var title="">node</var> to be the <span>current
      node</span> (the bottommost node of the stack).</p></li>
 
@@ -57673,6 +57719,8 @@
 
     <ol>
 
+     <li><p>Set the <span>frameset-ok flag</span> to "not ok".</p></li>
+
      <li><p>Initialize <var title="">node</var> to be the <span>current
      node</span> (the bottommost node of the stack).</p></li>
 
@@ -58164,6 +58212,8 @@
     <p>Insert a marker at the end of the <span>list of active
     formatting elements</span>.</p>
 
+    <p>Set the <span>frameset-ok flag</span> to "not ok".</p>
+
    </dd>
 
    <dt>A start tag token whose tag name is one of: "applet",
@@ -58178,6 +58228,8 @@
     <p>Insert a marker at the end of the <span>list of active
     formatting elements</span>.</p>
 
+    <p>Set the <span>frameset-ok flag</span> to "not ok".</p>
+
    </dd>
 
    <dt>An end tag token whose tag name is one of: "applet", "button",
@@ -58210,16 +58262,6 @@
 
    </dd>
 
-   <dt>A start tag whose tag name is "xmp"</dt>
-   <dd>
-
-    <p><span>Reconstruct the active formatting elements</span>, if
-    any.</p>
-
-    <p>Follow the <span>generic CDATA element parsing algorithm</span>.</p>
-
-   </dd>
-
    <dt>A start tag whose tag name is "table"</dt>
    <dd>
 
@@ -58230,6 +58272,8 @@
 
     <p><span>Insert an HTML element</span> for the token.</p>
 
+    <p>Set the <span>frameset-ok flag</span> to "not ok".</p>
+
     <p>Switch the <span>insertion mode</span> to "<span
     title="insertion mode: in table">in table</span>".</p>
 
@@ -58249,6 +58293,10 @@
     <p><span title="acknowledge self-closing flag">Acknowledge the
     token's <i>self-closing flag</i></span>, if it is set.</p>
 
+    <p>Set the <span>frameset-ok flag</span> to "not ok".</p> <!--
+    shouldn't really do it for <area>, <basefont>, <bgsound>, and
+    <spacer> -->
+
    </dd>
 
    <dt>A start tag whose tag name is one of: "param", "source"</dt>
@@ -58278,6 +58326,8 @@
     <p><span title="acknowledge self-closing flag">Acknowledge the
     token's <i>self-closing flag</i></span>, if it is set.</p>
 
+    <p>Set the <span>frameset-ok flag</span> to "not ok".</p>
+
    </dd>
 
    <dt>A start tag whose tag name is "image"</dt>
@@ -58383,6 +58433,9 @@
      <li><p>Let the <span>original insertion mode</span> be the
      current <span>insertion mode</span>.</p>
 
+     <li><p>Set the <span>frameset-ok flag</span> to "not
+     ok".</p></li>
+
      <li><p>Switch the <span>insertion mode</span> to "<span
      title="insertion mode: in CDATA/RCDATA">in
      CDATA/RCDATA</span>".</p></li>
@@ -58391,10 +58444,33 @@
 
    </dd>
 
-   <dt>A start tag whose tag name is one of: "iframe", "noembed"</dt>
+   <dt>A start tag whose tag name is "xmp"</dt>
+   <dd>
+
+    <p><span>Reconstruct the active formatting elements</span>, if
+    any.</p>
+
+    <p>Set the <span>frameset-ok flag</span> to "not ok".</p>
+
+    <p>Follow the <span>generic CDATA element parsing algorithm</span>.</p>
+
+   </dd>
+
+   <dt>A start tag whose tag name is "iframe"</dt>
+   <dd>
+
+    <p>Set the <span>frameset-ok flag</span> to "not ok".</p>
+
+    <p>Follow the <span>generic CDATA element parsing algorithm</span>.</p>
+
+   </dd>
+
+   <dt>A start tag whose tag name is "noembed"</dt>
    <dt>A start tag whose tag name is "noscript", if the <span>scripting flag</span> is enabled</dt>
    <dd>
+
     <p>Follow the <span>generic CDATA element parsing algorithm</span>.</p>
+
    </dd>
 
    <dt>A start tag whose tag name is "select"</dt>
@@ -58405,6 +58481,8 @@
 
     <p><span>Insert an HTML element</span> for the token.</p>
 
+    <p>Set the <span>frameset-ok flag</span> to "not ok".</p>
+
     <p>If the <span>insertion mode</span> is one of <span
     title="insertion mode: in table">in table</span>", "<span
     title="insertion mode: in caption">in caption</span>", "<span
@@ -58532,8 +58610,8 @@
 -->
 
    <dt>A start <!--or end--> tag whose tag name is one of: "caption",
-   "col", "colgroup", "frame", "frameset", "head", "tbody", "td",
-   "tfoot", "th", "thead", "tr"</dt>
+   "col", "colgroup", "frame", "head", "tbody", "td", "tfoot", "th",
+   "thead", "tr"</dt>
    <!--<dt>An end tag whose tag name is one of: "area", "base",
    "basefont", "bgsound", "command", "embed", "eventsource", "hr",
    "iframe", "image", "img", "input", "isindex", "link", "meta",
@@ -58755,7 +58833,7 @@
 
   <dl class="switch">
 
-   <dt>A character token that is one of one of U+0009 CHARACTER
+   <dt>A character token that is one of U+0009 CHARACTER
    TABULATION, U+000A LINE FEED (LF), U+000C FORM FEED (FF),
    <!--U+000D CARRIAGE RETURN (CR),--> or U+0020 SPACE</dt>
    <dd>
@@ -59017,7 +59095,7 @@
 
   <dl class="switch">
 
-   <dt>A character token that is one of one of U+0009 CHARACTER
+   <dt>A character token that is one of U+0009 CHARACTER
    TABULATION, U+000A LINE FEED (LF), U+000C FORM FEED (FF),
    <!--U+000D CARRIAGE RETURN (CR),--> or U+0020 SPACE</dt>
    <dd>
@@ -59766,7 +59844,7 @@
 
   <dl class="switch">
 
-   <dt>A character token that is one of one of U+0009 CHARACTER
+   <dt>A character token that is one of U+0009 CHARACTER
    TABULATION, U+000A LINE FEED (LF), U+000C FORM FEED (FF),
    <!--U+000D CARRIAGE RETURN (CR),--> or U+0020 SPACE</dt>
    <dd>
@@ -59832,7 +59910,7 @@
 
   <dl class="switch">
 
-   <dt>A character token that is one of one of U+0009 CHARACTER
+   <dt>A character token that is one of U+0009 CHARACTER
    TABULATION, U+000A LINE FEED (LF), U+000C FORM FEED (FF),
    <!--U+000D CARRIAGE RETURN (CR),--> or U+0020 SPACE</dt>
    <dd>
@@ -59934,7 +60012,7 @@
   <!-- due to rules in the "in frameset" mode, this can't be entered in the fragment case -->
   <dl class="switch">
 
-   <dt>A character token that is one of one of U+0009 CHARACTER
+   <dt>A character token that is one of U+0009 CHARACTER
    TABULATION, U+000A LINE FEED (LF), U+000C FORM FEED (FF),
    <!--U+000D CARRIAGE RETURN (CR),--> or U+0020 SPACE</dt>
    <dd>
@@ -60008,7 +60086,7 @@
    </dd>
 
    <dt>A DOCTYPE token</dt>
-   <dt>A character token that is one of one of U+0009 CHARACTER
+   <dt>A character token that is one of U+0009 CHARACTER
    TABULATION, U+000A LINE FEED (LF), U+000C FORM FEED (FF),
    <!--U+000D CARRIAGE RETURN (CR),--> or U+0020 SPACE</dt>
    <dt>A start tag whose tag name is "html"</dt>
@@ -60048,7 +60126,7 @@
    </dd>
 
    <dt>A DOCTYPE token</dt>
-   <dt>A character token that is one of one of U+0009 CHARACTER
+   <dt>A character token that is one of U+0009 CHARACTER
    TABULATION, U+000A LINE FEED (LF), U+000C FORM FEED (FF),
    <!--U+000D CARRIAGE RETURN (CR),--> or U+0020 SPACE</dt>
    <dt>A start tag whose tag name is "html"</dt>




More information about the Commit-Watchers mailing list