Skip to content

Commit

Permalink
[giow] (2) Make basefont and bgsound get parsed more like <link> than…
Browse files Browse the repository at this point in the history
… like <img> for compatibility with the TD Canada Trust banking site.

Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=9910

git-svn-id: http://svn.whatwg.org/webapps@5160 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jul 14, 2010
1 parent 43c4210 commit ac1f39a
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 33 deletions.
25 changes: 14 additions & 11 deletions complete.html
Expand Up @@ -81205,8 +81205,8 @@ <h5 id=the-before-head-insertion-mode><span class=secno>12.2.5.6 </span>The "<df
mode</a>.</p>
</dd>

<dt>A start tag whose tag name is one of: "base", "command",
"link"</dt>
<dt>A start tag whose tag name is one of: "base", "basefont",
"bgsound", "command", "link"</dt>
<dd>

<p><a href=#insert-an-html-element>Insert an HTML element</a> for the token. Immediately
Expand Down Expand Up @@ -81371,7 +81371,8 @@ <h5 id=the-before-head-insertion-mode><span class=secno>12.2.5.6 </span>The "<df
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>
<dt>A start tag whose tag name is one of: "link", "meta", "noframes", "style"</dt>
<dt>A start tag whose tag name is one of: "basefont", "bgsound",
"link", "meta", "noframes", "style"</dt>
<dd>
<p>Process the token <a href=#using-the-rules-for>using the rules for</a> the "<a href=#parsing-main-inhead title="insertion mode: in head">in head</a>" <a href=#insertion-mode>insertion
mode</a>.</p>
Expand Down Expand Up @@ -81450,8 +81451,9 @@ <h5 id=the-before-head-insertion-mode><span class=secno>12.2.5.6 </span>The "<df

</dd>

<dt>A start tag token whose tag name is one of: "base", "link",
"meta", "noframes", "script", "style", "title"</dt>
<dt>A start tag token whose tag name is one of: "base", "basefont",
"bgsound", "link", "meta", "noframes", "script", "style",
"title"</dt>
<dd>

<p><a href=#parse-error>Parse error</a>.</p>
Expand Down Expand Up @@ -81539,8 +81541,9 @@ <h5 id=the-before-head-insertion-mode><span class=secno>12.2.5.6 </span>The "<df
add the attribute and its corresponding value to that element.</p>
</dd>

<dt>A start tag token whose tag name is one of: "base", "command",
"link", "meta", "noframes", "script", "style", "title"</dt>
<dt>A start tag token whose tag name is one of: "base", "basefont",
"bgsound", "command", "link", "meta", "noframes", "script",
"style", "title"</dt>
<dd>
<p>Process the token <a href=#using-the-rules-for>using the rules for</a> the "<a href=#parsing-main-inhead title="insertion mode: in head">in head</a>" <a href=#insertion-mode>insertion
mode</a>.</p>
Expand Down Expand Up @@ -82319,8 +82322,8 @@ <h5 id=the-before-head-insertion-mode><span class=secno>12.2.5.6 </span>The "<df

</dd>

<dt>A start tag whose tag name is one of: "area", "basefont",
"bgsound", "br", "embed", "img", "input", "keygen", "wbr"</dt>
<dt>A start tag whose tag name is one of: "area", "br", "embed",
"img", "input", "keygen", "wbr"</dt>
<dd>

<p><a href=#reconstruct-the-active-formatting-elements>Reconstruct the active formatting elements</a>, if
Expand All @@ -82333,8 +82336,8 @@ <h5 id=the-before-head-insertion-mode><span class=secno>12.2.5.6 </span>The "<df
<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>, and <bgsound> -->
<p>Set the <a href=#frameset-ok-flag>frameset-ok flag</a> to "not ok".</p>
<!-- shouldn't really do this for <area> -->

</dd>

Expand Down
25 changes: 14 additions & 11 deletions index
Expand Up @@ -74446,8 +74446,8 @@ document.body.appendChild(text);
mode</a>.</p>
</dd>

<dt>A start tag whose tag name is one of: "base", "command",
"link"</dt>
<dt>A start tag whose tag name is one of: "base", "basefont",
"bgsound", "command", "link"</dt>
<dd>

<p><a href=#insert-an-html-element>Insert an HTML element</a> for the token. Immediately
Expand Down Expand Up @@ -74612,7 +74612,8 @@ document.body.appendChild(text);
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>
<dt>A start tag whose tag name is one of: "link", "meta", "noframes", "style"</dt>
<dt>A start tag whose tag name is one of: "basefont", "bgsound",
"link", "meta", "noframes", "style"</dt>
<dd>
<p>Process the token <a href=#using-the-rules-for>using the rules for</a> the "<a href=#parsing-main-inhead title="insertion mode: in head">in head</a>" <a href=#insertion-mode>insertion
mode</a>.</p>
Expand Down Expand Up @@ -74691,8 +74692,9 @@ document.body.appendChild(text);

</dd>

<dt>A start tag token whose tag name is one of: "base", "link",
"meta", "noframes", "script", "style", "title"</dt>
<dt>A start tag token whose tag name is one of: "base", "basefont",
"bgsound", "link", "meta", "noframes", "script", "style",
"title"</dt>
<dd>

<p><a href=#parse-error>Parse error</a>.</p>
Expand Down Expand Up @@ -74780,8 +74782,9 @@ document.body.appendChild(text);
add the attribute and its corresponding value to that element.</p>
</dd>

<dt>A start tag token whose tag name is one of: "base", "command",
"link", "meta", "noframes", "script", "style", "title"</dt>
<dt>A start tag token whose tag name is one of: "base", "basefont",
"bgsound", "command", "link", "meta", "noframes", "script",
"style", "title"</dt>
<dd>
<p>Process the token <a href=#using-the-rules-for>using the rules for</a> the "<a href=#parsing-main-inhead title="insertion mode: in head">in head</a>" <a href=#insertion-mode>insertion
mode</a>.</p>
Expand Down Expand Up @@ -75560,8 +75563,8 @@ document.body.appendChild(text);

</dd>

<dt>A start tag whose tag name is one of: "area", "basefont",
"bgsound", "br", "embed", "img", "input", "keygen", "wbr"</dt>
<dt>A start tag whose tag name is one of: "area", "br", "embed",
"img", "input", "keygen", "wbr"</dt>
<dd>

<p><a href=#reconstruct-the-active-formatting-elements>Reconstruct the active formatting elements</a>, if
Expand All @@ -75574,8 +75577,8 @@ document.body.appendChild(text);
<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>, and <bgsound> -->
<p>Set the <a href=#frameset-ok-flag>frameset-ok flag</a> to "not ok".</p>
<!-- shouldn't really do this for <area> -->

</dd>

Expand Down
25 changes: 14 additions & 11 deletions source
Expand Up @@ -92762,8 +92762,8 @@ document.body.appendChild(text);
mode</span>.</p>
</dd>

<dt>A start tag whose tag name is one of: "base", "command",
"link"</dt>
<dt>A start tag whose tag name is one of: "base", "basefont",
"bgsound", "command", "link"</dt>
<dd>

<p><span>Insert an HTML element</span> for the token. Immediately
Expand Down Expand Up @@ -92946,7 +92946,8 @@ document.body.appendChild(text);
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>
<dt>A start tag whose tag name is one of: "link", "meta", "noframes", "style"</dt>
<dt>A start tag whose tag name is one of: "basefont", "bgsound",
"link", "meta", "noframes", "style"</dt>
<dd>
<p>Process the token <span>using the rules for</span> the "<span
title="insertion mode: in head">in head</span>" <span>insertion
Expand Down Expand Up @@ -93034,8 +93035,9 @@ document.body.appendChild(text);

</dd>

<dt>A start tag token whose tag name is one of: "base", "link",
"meta", "noframes", "script", "style", "title"</dt>
<dt>A start tag token whose tag name is one of: "base", "basefont",
"bgsound", "link", "meta", "noframes", "script", "style",
"title"</dt>
<dd>

<p><span>Parse error</span>.</p>
Expand Down Expand Up @@ -93131,8 +93133,9 @@ document.body.appendChild(text);
add the attribute and its corresponding value to that element.</p>
</dd>

<dt>A start tag token whose tag name is one of: "base", "command",
"link", "meta", "noframes", "script", "style", "title"</dt>
<dt>A start tag token whose tag name is one of: "base", "basefont",
"bgsound", "command", "link", "meta", "noframes", "script",
"style", "title"</dt>
<dd>
<p>Process the token <span>using the rules for</span> the "<span
title="insertion mode: in head">in head</span>" <span>insertion
Expand Down Expand Up @@ -93982,8 +93985,8 @@ document.body.appendChild(text);

</dd>

<dt>A start tag whose tag name is one of: "area", "basefont",
"bgsound", "br", "embed", "img", "input", "keygen", "wbr"</dt>
<dt>A start tag whose tag name is one of: "area", "br", "embed",
"img", "input", "keygen", "wbr"</dt>
<dd>

<p><span>Reconstruct the active formatting elements</span>, if
Expand All @@ -93996,8 +93999,8 @@ document.body.appendChild(text);
<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>, and <bgsound> -->
<p>Set the <span>frameset-ok flag</span> to "not ok".</p>
<!-- shouldn't really do this for <area> -->

</dd>

Expand Down

0 comments on commit ac1f39a

Please sign in to comment.