IE8 says the <body> token should kill frameset-ok flag. Also, framset-ok wasn't supported correctly in foreign-content mode yet. (whatwg r2987)

IE8 says the <body> token should kill frameset-ok flag. Also, framset-ok
wasn't supported correctly in foreign-content mode yet. (whatwg r2987)

8.2.5.20 The "in foreign content" insertion mode
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2151.html#parsing-main-inforeign
8.2.5.10 The "in body" insertion mode
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2151.html#parsing-main-inbody
A start tag whose tag name is "isindex"
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2151.html#isindex
8.2.5.9 The "after head" insertion mode
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2151.html#the-after-head-insertion-mode

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2150&r2=1.2151&f=h
http://html5.org/tools/web-apps-tracker?from=2986&to=2987

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2150
retrieving revision 1.2151
diff -u -d -r1.2150 -r1.2151
--- Overview.html 25 Apr 2009 21:50:18 -0000 1.2150
+++ Overview.html 25 Apr 2009 22:47:40 -0000 1.2151
@@ -49934,6 +49934,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>
@@ -49981,7 +49983,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>
 
@@ -50121,6 +50124,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>
@@ -51046,6 +51053,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
@@ -51076,6 +51089,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
@@ -52057,8 +52076,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>

Received on Saturday, 25 April 2009 22:49:49 UTC