[html5] r1698 - /
whatwg at whatwg.org
whatwg at whatwg.org
Sat May 24 02:40:04 PDT 2008
Author: ianh
Date: 2008-05-24 02:40:04 -0700 (Sat, 24 May 2008)
New Revision: 1698
Modified:
index
source
Log:
[ct] (0) Make it easier to optimise the parser by adding certain elements to the foreign content escape hatch. (credit: hs)
Modified: index
===================================================================
--- index 2008-05-24 09:36:30 UTC (rev 1697)
+++ index 2008-05-24 09:40:04 UTC (rev 1698)
@@ -47792,13 +47792,21 @@
<dt>A start tag whose tag name is one of: <!--"a",--> "b", "big",
"blockquote", "body"<!--by inspection-->, "br", "center", "code", "dd",
- "div", "dl", "em", "embed", "font", "h1", "h2", "h3",
- "h4"<!--for completeness-->, "h5", "h6"<!--for completeness-->,
- "head"<!--by inspection-->, "hr", "i", "img", "li", "menu", "meta",
- "nobr", "p", "pre", "ruby", "s", <!--"script",--> "small", "span",
- "strong", <!--"style",--> "sub", "sup", "table"<!--by
- inspection-->,
- "tt", "u", "ul", "var"</dt>
+ "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
+ completeness-->, "head"<!--by inspection-->, "hr",
+ "i", "img", "li", "listing"<!-- so that pre and listing can be handled
+ uniformly throughout the parser -->,
+ "menu", "meta", "nobr",
+ "ol"<!-- so that dl, ul, and ol can be handled uniformly throughout
+ the parser -->,
+ "p", "pre", "ruby", "s", <!--"script",--> "small", "span", "strong",
+ "strike"<!-- so that s and strike can be handled
+ uniformly throughout the parser -->,
+ <!--"style",--> "sub", "sup", "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 -->
Modified: source
===================================================================
--- source 2008-05-24 09:36:30 UTC (rev 1697)
+++ source 2008-05-24 09:40:04 UTC (rev 1698)
@@ -45050,12 +45050,17 @@
<dt>A start tag whose tag name is one of: <!--"a",--> "b", "big",
"blockquote", "body"<!--by inspection-->, "br", "center", "code",
- "dd", "div", "dl", "em", "embed", "font", "h1", "h2", "h3",
- "h4"<!--for completeness-->, "h5", "h6"<!--for completeness-->,
- "head"<!--by inspection-->, "hr", "i", "img", "li", "menu", "meta",
- "nobr", "p", "pre", "ruby", "s", <!--"script",--> "small", "span",
- "strong", <!--"style",--> "sub", "sup", "table"<!--by
- inspection-->, "tt", "u", "ul", "var"</dt>
+ "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
+ completeness-->, "head"<!--by inspection-->, "hr", "i", "img",
+ "li", "listing"<!-- so that pre and listing can be handled
+ uniformly throughout the parser -->, "menu", "meta", "nobr",
+ "ol"<!-- so that dl, ul, and ol can be handled uniformly throughout
+ the parser -->, "p", "pre", "ruby", "s", <!--"script",--> "small",
+ "span", "strong", "strike"<!-- so that s and strike can be handled
+ uniformly throughout the parser -->, <!--"style",--> "sub", "sup",
+ "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>An end-of-file token</dt>
More information about the Commit-Watchers
mailing list