NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 425 - Change how <font> is handled in foreign content.
Change how <font> is handled in foreign content.
Status: RESOLVED NOTREPRODUCIBLE
Product: Validator.nu
Classification: Unclassified
Component: General
HEAD
All All
: P2 normal
Assigned To: Nobody
http://svn.whatwg.org/webapps/source?...
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-01-04 16:58 CET by Henri Sivonen
Modified: 2011-05-19 16:20 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henri Sivonen 2009-01-04 16:58:56 CET
Index: source
===================================================================
--- source	(revision 2589)
+++ source	(revision 2590)
@@ -58395,8 +58395,8 @@
    <dt>A start tag whose tag name is one of: <!--"a",--> "b", "big",
    "blockquote", "body"<!--by inspection-->, "br", "center", "code",
    "dd", "div", "dl", "dt"<!-- so that dd and dt can be handled
-   uniformly throughout the parser -->, "em", "embed", "font", "h1",
-   "h2", "h3", "h4"<!--for completeness-->, "h5", "h6"<!--for
+   uniformly throughout the parser -->, "em", "embed", "h1", "h2",
+   "h3", "h4"<!--for completeness-->, "h5", "h6"<!--for
    completeness-->, "head"<!--by inspection-->, "hr", "i", "img",
    "li", "listing"<!-- so that pre and listing can be handled
    uniformly throughout the parser -->, "menu", "meta", "nobr",
@@ -58407,6 +58407,10 @@
    "table"<!--by inspection-->, "tt", "u", "ul", "var"</dt>
    <!-- this list was determined empirically by studying over
    6,000,000,000 pages that were specifically not XML pages -->
+   <dt>A start tag whose tag name is "font", if the token has
+   any attributes named "color", "face", or "size"</dt>
+   <!-- the attributes here are required so that SVG <font> will go
+   through as SVG but legacy <font>s won't -->
    <dt>An end-of-file token</dt>
    <dd>