Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[act] (0) IE8 says the <body> token should kill frameset-ok flag. Als…
…o, framset-ok wasn't supported correctly in foreign-content mode yet.

git-svn-id: http://svn.whatwg.org/webapps@2987 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Apr 25, 2009
1 parent f0393cc commit 64acd5a
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 2 deletions.
28 changes: 27 additions & 1 deletion index
Expand Up @@ -55618,6 +55618,8 @@ interface <dfn id=messageport>MessagePort</dfn> {

<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>
Expand Down Expand Up @@ -55665,7 +55667,8 @@ interface <dfn id=messageport>MessagePort</dfn> {
<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>

Expand Down Expand Up @@ -55805,6 +55808,10 @@ interface <dfn id=messageport>MessagePort</dfn> {
<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>
Expand Down Expand Up @@ -56730,6 +56737,12 @@ interface <dfn id=messageport>MessagePort</dfn> {
<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
Expand Down Expand Up @@ -56760,6 +56773,12 @@ interface <dfn id=messageport>MessagePort</dfn> {
<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
Expand Down Expand Up @@ -57741,8 +57760,15 @@ interface <dfn id=messageport>MessagePort</dfn> {

<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>
Expand Down
28 changes: 27 additions & 1 deletion source
Expand Up @@ -68151,6 +68151,8 @@ interface <dfn>MessagePort</dfn> {

<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>

Expand Down Expand Up @@ -68203,7 +68205,8 @@ interface <dfn>MessagePort</dfn> {
<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>

Expand Down Expand Up @@ -68355,6 +68358,10 @@ interface <dfn>MessagePort</dfn> {
<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>

Expand Down Expand Up @@ -69351,6 +69358,12 @@ interface <dfn>MessagePort</dfn> {
<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
Expand Down Expand Up @@ -69381,6 +69394,12 @@ interface <dfn>MessagePort</dfn> {
<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
Expand Down Expand Up @@ -70461,8 +70480,15 @@ interface <dfn>MessagePort</dfn> {

<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>
Expand Down

0 comments on commit 64acd5a

Please sign in to comment.