[html5] r2987 - [act] (0) IE8 says the <body> token should kill frameset-ok flag. Also, framset- [...]

whatwg at whatwg.org whatwg at whatwg.org
Sat Apr 25 15:47:37 PDT 2009


Author: ianh
Date: 2009-04-25 15:47:36 -0700 (Sat, 25 Apr 2009)
New Revision: 2987

Modified:
   index
   source
Log:
[act] (0) IE8 says the <body> token should kill frameset-ok flag. Also, framset-ok wasn't supported correctly in foreign-content mode yet.

Modified: index
===================================================================
--- index	2009-04-25 21:50:14 UTC (rev 2986)
+++ index	2009-04-25 22:47:36 UTC (rev 2987)
@@ -55618,6 +55618,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-inbody title="insertion mode: in body">in body</a>".</p>
 
    </dd>
@@ -55665,7 +55667,8 @@
    <dt>Anything else</dt>
    <dd>
     <p>Act as if a start tag token with the tag name "body" and no
-    attributes had been seen, and then reprocess the current
+    attributes had been seen, then set the <a href=#frameset-ok-flag>frameset-ok
+    flag</a> back to "ok", and then reprocess the current
     token.</p>
    </dd>
 
@@ -55805,6 +55808,10 @@
     <tbody> you'd have hit the first paragraph since the <body>
     wouldn't be in scope, unless it was a fragment case) -->
 
+    <!-- If we ever change the frameset-ok flag to an insertion mode,
+    then we'd have to somehow keep track of its state when we switch
+    to after-body. -->
+
     <p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#parsing-main-afterbody title="insertion mode: after body">after body</a>".</p>
 
    </dd>
@@ -56730,6 +56737,12 @@
     <p><a href=#insert-a-foreign-element>Insert a foreign element</a> for the token, in the
     <a href=#mathml-namespace>MathML namespace</a>.</p>
 
+    <!-- If we ever change the frameset-ok flag to an insertion mode,
+    the following change would be implied, except we'd have to do it
+    even in the face of a self-closed tag:
+    <p>Set the <span>frameset-ok flag</span> to "not ok".</p>
+    -->
+
     <p>If the token has its <i>self-closing flag</i> set, pop the
     <a href=#current-node>current node</a> off the <a href=#stack-of-open-elements>stack of open
     elements</a> and <a href=#acknowledge-self-closing-flag title="acknowledge self-closing
@@ -56760,6 +56773,12 @@
     <p><a href=#insert-a-foreign-element>Insert a foreign element</a> for the token, in the
     <a href=#svg-namespace>SVG namespace</a>.</p>
 
+    <!-- If we ever change the frameset-ok flag to an insertion mode,
+    the following change would be implied, except we'd have to do it
+    even in the face of a self-closed tag:
+    <p>Set the <span>frameset-ok flag</span> to "not ok".</p>
+    -->
+
     <p>If the token has its <i>self-closing flag</i> set, pop the
     <a href=#current-node>current node</a> off the <a href=#stack-of-open-elements>stack of open
     elements</a> and <a href=#acknowledge-self-closing-flag title="acknowledge self-closing
@@ -57741,8 +57760,15 @@
 
   <dl class=switch><dt>A character token</dt>
    <dd>
+
     <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>

Modified: source
===================================================================
--- source	2009-04-25 21:50:14 UTC (rev 2986)
+++ source	2009-04-25 22:47:36 UTC (rev 2987)
@@ -68151,6 +68151,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 body">in body</span>".</p>
 
@@ -68203,7 +68205,8 @@
    <dt>Anything else</dt>
    <dd>
     <p>Act as if a start tag token with the tag name "body" and no
-    attributes had been seen, and then reprocess the current
+    attributes had been seen, then set the <span>frameset-ok
+    flag</span> back to "ok", and then reprocess the current
     token.</p>
    </dd>
 
@@ -68355,6 +68358,10 @@
     <tbody> you'd have hit the first paragraph since the <body>
     wouldn't be in scope, unless it was a fragment case) -->
 
+    <!-- If we ever change the frameset-ok flag to an insertion mode,
+    then we'd have to somehow keep track of its state when we switch
+    to after-body. -->
+
     <p>Switch the <span>insertion mode</span> to "<span
     title="insertion mode: after body">after body</span>".</p>
 
@@ -69351,6 +69358,12 @@
     <p><span>Insert a foreign element</span> for the token, in the
     <span>MathML namespace</span>.</p>
 
+    <!-- If we ever change the frameset-ok flag to an insertion mode,
+    the following change would be implied, except we'd have to do it
+    even in the face of a self-closed tag:
+    <p>Set the <span>frameset-ok flag</span> to "not ok".</p>
+    -->
+
     <p>If the token has its <i>self-closing flag</i> set, pop the
     <span>current node</span> off the <span>stack of open
     elements</span> and <span title="acknowledge self-closing
@@ -69381,6 +69394,12 @@
     <p><span>Insert a foreign element</span> for the token, in the
     <span>SVG namespace</span>.</p>
 
+    <!-- If we ever change the frameset-ok flag to an insertion mode,
+    the following change would be implied, except we'd have to do it
+    even in the face of a self-closed tag:
+    <p>Set the <span>frameset-ok flag</span> to "not ok".</p>
+    -->
+
     <p>If the token has its <i>self-closing flag</i> set, pop the
     <span>current node</span> off the <span>stack of open
     elements</span> and <span title="acknowledge self-closing
@@ -70461,8 +70480,15 @@
 
    <dt>A character token</dt>
    <dd>
+
     <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>




More information about the Commit-Watchers mailing list