Short URL: http://html5.org/r/4022
| SVN | Bug | Comment | Time (UTC) |
|---|---|---|---|
| 4022 | 7639 | 2009-09-29 01:43 |
Index: source
===================================================================
--- source (revision 4021)
+++ source (revision 4022)
@@ -76437,8 +76437,6 @@
immediately followed by another <code>li</code> element or if there
is no more content in the parent element.</p>
- <!-- </dc> and </ds> can be added here one they are invented -->
-
<!-- </dt> -->
<p>A <code>dt</code> element's <span title="syntax-end-tag">end
tag</span> may be omitted if the <code>dt</code> element is
@@ -77874,28 +77872,26 @@
<code>blockquote</code>, <code>body</code>, <code>br</code>,
<code>center</code>, <code>col</code>, <code>colgroup</code>,
<code>command</code>, <!--v2DDATAGRID--><code>datagrid</code>,
- <code>dc</code><!-- speculative -->, <code>dd</code>,
- <code>details</code>, <code>dir</code>, <code>div</code>,
- <code>dl</code>, <code>ds</code><!-- speculative -->,
- <code>dt</code>, <code>embed</code>, <code>fieldset</code>,
- <code>figure</code>, <code>footer</code>, <code>form</code>,
- <code>frame</code>, <code>frameset</code>, <code>h1</code>,
- <code>h2</code>, <code>h3</code>, <code>h4</code>, <code>h5</code>,
- <code>h6</code>, <code>head</code>, <code>header</code>,
- <code>hgroup</code>, <code>hr</code>, <code>iframe</code>, <!--
- <code>image</code>, (commented out because this isn't an element
- that can end up on the stack, so it doesn't matter) -->
- <code>img</code>, <code>input</code>, <code>isindex</code>,
- <code>li</code>, <code>link</code>, <code>listing</code>,
- <code>menu</code>, <code>meta</code>, <code>nav</code>,
- <code>noembed</code>, <code>noframes</code>, <code>noscript</code>,
- <code>ol</code>, <code>p</code>, <code>param</code>,
- <code>plaintext</code>, <code>pre</code>, <code>script</code>,
- <code>section</code>, <code>select</code>, <code>spacer</code>,
- <code>style</code>, <code>tbody</code>, <code>textarea</code>,
- <code>tfoot</code>, <code>thead</code>, <code>title</code>,
- <code>tr</code>, <code>ul</code>, <code>wbr</code>, and
- <code>xmp</code>.</p></dd>
+ <code>dd</code>, <code>details</code>, <code>dir</code>,
+ <code>div</code>, <code>dl</code>, <code>dt</code>,
+ <code>embed</code>, <code>fieldset</code>, <code>figure</code>,
+ <code>footer</code>, <code>form</code>, <code>frame</code>,
+ <code>frameset</code>, <code>h1</code>, <code>h2</code>,
+ <code>h3</code>, <code>h4</code>, <code>h5</code>, <code>h6</code>,
+ <code>head</code>, <code>header</code>, <code>hgroup</code>,
+ <code>hr</code>, <code>iframe</code>, <!-- <code>image</code>,
+ (commented out because this isn't an element that can end up on the
+ stack, so it doesn't matter) --> <code>img</code>,
+ <code>input</code>, <code>isindex</code>, <code>li</code>,
+ <code>link</code>, <code>listing</code>, <code>menu</code>,
+ <code>meta</code>, <code>nav</code>, <code>noembed</code>,
+ <code>noframes</code>, <code>noscript</code>, <code>ol</code>,
+ <code>p</code>, <code>param</code>, <code>plaintext</code>,
+ <code>pre</code>, <code>script</code>, <code>section</code>,
+ <code>select</code>, <code>spacer</code>, <code>style</code>,
+ <code>tbody</code>, <code>textarea</code>, <code>tfoot</code>,
+ <code>thead</code>, <code>title</code>, <code>tr</code>,
+ <code>ul</code>, <code>wbr</code>, and <code>xmp</code>.</p></dd>
<dt><dfn>Scoping</dfn></dt>
<dd><p>The following HTML elements introduce new <span title="has
@@ -80037,11 +80033,9 @@
<h5>Closing elements that have implied end tags</h5>
- <!-- <dc> and <ds> are here speculatively for future expansion (they're not defined elements yet) -->
<p>When the steps below require the UA to <dfn>generate implied end
tags</dfn>, then, while the <span>current node</span> is a
- <code>dc</code> element, a <code>dd</code> element, a
- <code>ds</code> element, a <code>dt</code> element, an
+ <code>dd</code> element, a <code>dt</code> element, an
<code>li</code> element, an <code>option</code> element, an
<code>optgroup</code> element, a <code>p</code> element, an
<code>rp</code> element, or an <code>rt</code> element, the UA must
@@ -80929,15 +80923,14 @@
<dd>
<p>If there is a node in the <span>stack of open elements</span>
- that is not either a <code>dc</code> element, a <code>dd</code>
- element, a <code>ds</code> element, a <code>dt</code> element, an
- <code>li</code> element, a <code>p</code> element, a
+ that is not either a <code>dd</code> element, a <code>dt</code>
+ element, an <code>li</code> element, a <code>p</code> element, a
<code>tbody</code> element, a <code>td</code> element, a
<code>tfoot</code> element, a <code>th</code> element, a
<code>thead</code> element, a <code>tr</code> element, the
<code>body</code> element, or the <code>html</code> element, then
this is a <span>parse error</span>.</p> <!-- (some of those are
- fragment cases) --> <!-- <dc> and <ds> are there speculatively -->
+ fragment cases) -->
<p><span>Stop parsing</span>.</p>
@@ -80955,8 +80948,7 @@
body". -->
<p>Otherwise, if there is a node in the <span>stack of open
- elements</span> that is not either a <code>dc</code> element, a
- <code>dd</code> element, a <code>ds</code> element, a
+ elements</span> that is not either a <code>dd</code> element, a
<code>dt</code> element, an <code>li</code> element, an
<code>optgroup</code> element, an <code>option</code> element, a
<code>p</code> element, an <code>rp</code> element, an
@@ -80967,8 +80959,7 @@
<code>html</code> element, then this is a <span>parse
error</span>.</p> <!-- (some of those are fragment cases, e.g. for
<tbody> you'd have hit the first paragraph since the <body>
- wouldn't be in scope, unless it was a fragment case) --> <!-- <dc>
- and <ds> are there speculatively -->
+ 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
@@ -81128,8 +81119,7 @@
</dd>
<!-- as normal, but imply </dt> or </dd> when there's another <dt> or <dd> open in weird cases -->
- <!-- <dc> and <ds> are here speculatively for future expansion (they're not defined elements yet) -->
- <dt>A start tag whose tag name is one of: "dc", "dd", "ds", "dt"</dt>
+ <dt>A start tag whose tag name is one of: "dd", "dt"</dt>
<dd>
<p>Run the following algorithm:</p>
@@ -81142,10 +81132,9 @@
node</span> (the bottommost node of the stack).</p></li>
<li><p><i>Loop</i>: If <var title="">node</var> is a
- <code>dc</code>, <code>dd</code>, <code>ds</code>, or
- <code>dt</code> element, then act as if an end tag with the same
- tag name as <var title="">node</var> had been seen, then jump to
- the last step.</p></li>
+ <code>dd</code> or <code>dt</code> element, then act as if an end
+ tag with the same tag name as <var title="">node</var> had been
+ seen, then jump to the last step.</p></li>
<li><p>If <var title="">node</var> is not in the
<span>formatting</span> category, and is not in the
@@ -81328,8 +81317,7 @@
</dd>
<!-- as normal, but needs care as the elements have optional tags -->
- <!-- <dc> and <ds> are here speculatively for future expansion (they're not defined elements yet) -->
- <dt>An end tag whose tag name is one of: "dc", "dd", "ds", "dt"</dt>
+ <dt>An end tag whose tag name is one of: "dd", "dt"</dt>
<dd>
<p>If the <span>stack of open elements</span> does not <span
@@ -83267,10 +83255,9 @@
<dt>A start tag whose tag name is one of: <!--"a",--> "b", "big",
"blockquote", "body"<!--by inspection-->, "br", "center", "code",
- "dc"<!-- with dt -->, "dd", "div", "dl", "ds"<!-- with dt -->,
- "dt"<!-- so that dd and dt can be handled uniformly throughout the
- parser; dc and ds are here for the same reason -->, "em", "embed",
- "h1", "h2", "h3", "h4"<!--for completeness-->, "h5", "h6"<!--for
+ "dd", "div", "dl", "dt"<!-- so that dd and dt can be handled
+ 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",
@@ -83280,11 +83267,12 @@
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>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>
+ 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>
<p><span>Parse error</span>.</p>
@@ -85031,10 +85019,10 @@
display: none;
}
-address, article, aside, blockquote, body, center, dc, dd, dir, div,<!-- dc and ds are here for speculative purposes to enable future extensions -->
-dl, ds, dt, figure, footer, form, h1, h2, h3, h4, h5, h6, header,
-hgroup, hr, html, legend, listing, menu, nav, ol, p, plaintext, pre,
-section, ul, xmp { display: block; }
+address, article, aside, blockquote, body, center, dd, dir, div, dl,
+dt, figure, footer, form, h1, h2, h3, h4, h5, h6, header, hgroup, hr,
+html, legend, listing, menu, nav, ol, p, plaintext, pre, section, ul,
+xmp { display: block; }
table { display: table; }
caption { display: table-caption; }