Bugzilla – Bug 547
IE8 says the <body> token should kill frameset-ok flag. Also, framset-ok wasn't supported correctly in foreign-content mode yet.
Last modified: 2011-05-16 20:31:15 CEST
Index: source =================================================================== --- source (revision 2986) +++ source (revision 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>