Skip to content
Permalink
Browse files
[ct] (0) Remove <dc> and <ds> since forward-looking compatibility isn…
…'t popular apparently. So much for people liking extensibility... :-)

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

git-svn-id: http://svn.whatwg.org/webapps@4022 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 29, 2009
1 parent 5f0fef7 commit a09f97d42cbfadfaa139f36e43b5a6bbc221c3aa
Showing 2 changed files with 88 additions and 112 deletions.
100 index
@@ -61796,8 +61796,6 @@ interface <dfn id=messageport>MessagePort</dfn> {
immediately followed by another <code><a href=#the-li-element>li</a></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><a href=#the-dt-element>dt</a></code> element's <a href=#syntax-end-tag title=syntax-end-tag>end
tag</a> may be omitted if the <code><a href=#the-dt-element>dt</a></code> element is
@@ -63058,28 +63056,26 @@ interface <dfn id=messageport>MessagePort</dfn> {
<code><a href=#the-blockquote-element>blockquote</a></code>, <code><a href=#the-body-element-0>body</a></code>, <code><a href=#the-br-element>br</a></code>,
<code><a href=#center>center</a></code>, <code><a href=#the-col-element>col</a></code>, <code><a href=#the-colgroup-element>colgroup</a></code>,
<code><a href=#the-command>command</a></code>, <!--v2DDATAGRID--><code>datagrid</code>,
<code>dc</code><!-- speculative -->, <code><a href=#the-dd-element>dd</a></code>,
<code><a href=#the-details-element>details</a></code>, <code><a href=#dir>dir</a></code>, <code><a href=#the-div-element>div</a></code>,
<code><a href=#the-dl-element>dl</a></code>, <code>ds</code><!-- speculative -->,
<code><a href=#the-dt-element>dt</a></code>, <code><a href=#the-embed-element>embed</a></code>, <code><a href=#the-fieldset-element>fieldset</a></code>,
<code><a href=#the-figure-element>figure</a></code>, <code><a href=#the-footer-element>footer</a></code>, <code><a href=#the-form-element>form</a></code>,
<code><a href=#frame>frame</a></code>, <code><a href=#frameset>frameset</a></code>, <code><a href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h1</a></code>,
<code><a href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h2</a></code>, <code><a href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h3</a></code>, <code><a href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h4</a></code>, <code><a href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h5</a></code>,
<code><a href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h6</a></code>, <code><a href=#the-head-element-0>head</a></code>, <code><a href=#the-header-element>header</a></code>,
<code><a href=#the-hgroup-element>hgroup</a></code>, <code><a href=#the-hr-element>hr</a></code>, <code><a href=#the-iframe-element>iframe</a></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><a href=#the-img-element>img</a></code>, <code><a href=#the-input-element>input</a></code>, <code><a href=#isindex-0>isindex</a></code>,
<code><a href=#the-li-element>li</a></code>, <code><a href=#the-link-element>link</a></code>, <code><a href=#listing>listing</a></code>,
<code><a href=#menus>menu</a></code>, <code><a href=#meta>meta</a></code>, <code><a href=#the-nav-element>nav</a></code>,
<code><a href=#noembed>noembed</a></code>, <code><a href=#noframes>noframes</a></code>, <code><a href=#the-noscript-element>noscript</a></code>,
<code><a href=#the-ol-element>ol</a></code>, <code><a href=#the-p-element>p</a></code>, <code><a href=#the-param-element>param</a></code>,
<code><a href=#plaintext>plaintext</a></code>, <code><a href=#the-pre-element>pre</a></code>, <code><a href=#script>script</a></code>,
<code><a href=#the-section-element>section</a></code>, <code><a href=#the-select-element>select</a></code>, <code><a href=#spacer>spacer</a></code>,
<code><a href=#the-style-element>style</a></code>, <code><a href=#the-tbody-element>tbody</a></code>, <code><a href=#the-textarea-element>textarea</a></code>,
<code><a href=#the-tfoot-element>tfoot</a></code>, <code><a href=#the-thead-element>thead</a></code>, <code><a href=#the-title-element-0>title</a></code>,
<code><a href=#the-tr-element>tr</a></code>, <code><a href=#the-ul-element>ul</a></code>, <code>wbr</code>, and
<code><a href=#xmp>xmp</a></code>.</dd>
<code><a href=#the-dd-element>dd</a></code>, <code><a href=#the-details-element>details</a></code>, <code><a href=#dir>dir</a></code>,
<code><a href=#the-div-element>div</a></code>, <code><a href=#the-dl-element>dl</a></code>, <code><a href=#the-dt-element>dt</a></code>,
<code><a href=#the-embed-element>embed</a></code>, <code><a href=#the-fieldset-element>fieldset</a></code>, <code><a href=#the-figure-element>figure</a></code>,
<code><a href=#the-footer-element>footer</a></code>, <code><a href=#the-form-element>form</a></code>, <code><a href=#frame>frame</a></code>,
<code><a href=#frameset>frameset</a></code>, <code><a href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h1</a></code>, <code><a href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h2</a></code>,
<code><a href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h3</a></code>, <code><a href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h4</a></code>, <code><a href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h5</a></code>, <code><a href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h6</a></code>,
<code><a href=#the-head-element-0>head</a></code>, <code><a href=#the-header-element>header</a></code>, <code><a href=#the-hgroup-element>hgroup</a></code>,
<code><a href=#the-hr-element>hr</a></code>, <code><a href=#the-iframe-element>iframe</a></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><a href=#the-img-element>img</a></code>,
<code><a href=#the-input-element>input</a></code>, <code><a href=#isindex-0>isindex</a></code>, <code><a href=#the-li-element>li</a></code>,
<code><a href=#the-link-element>link</a></code>, <code><a href=#listing>listing</a></code>, <code><a href=#menus>menu</a></code>,
<code><a href=#meta>meta</a></code>, <code><a href=#the-nav-element>nav</a></code>, <code><a href=#noembed>noembed</a></code>,
<code><a href=#noframes>noframes</a></code>, <code><a href=#the-noscript-element>noscript</a></code>, <code><a href=#the-ol-element>ol</a></code>,
<code><a href=#the-p-element>p</a></code>, <code><a href=#the-param-element>param</a></code>, <code><a href=#plaintext>plaintext</a></code>,
<code><a href=#the-pre-element>pre</a></code>, <code><a href=#script>script</a></code>, <code><a href=#the-section-element>section</a></code>,
<code><a href=#the-select-element>select</a></code>, <code><a href=#spacer>spacer</a></code>, <code><a href=#the-style-element>style</a></code>,
<code><a href=#the-tbody-element>tbody</a></code>, <code><a href=#the-textarea-element>textarea</a></code>, <code><a href=#the-tfoot-element>tfoot</a></code>,
<code><a href=#the-thead-element>thead</a></code>, <code><a href=#the-title-element-0>title</a></code>, <code><a href=#the-tr-element>tr</a></code>,
<code><a href=#the-ul-element>ul</a></code>, <code>wbr</code>, and <code><a href=#xmp>xmp</a></code>.</dd>

<dt><dfn id=scoping>Scoping</dfn></dt>
<dd><p>The following HTML elements introduce new <a href=#has-an-element-in-scope title="has
@@ -64956,11 +64952,9 @@ document.body.appendChild(text);

</ol><h5 id=closing-elements-that-have-implied-end-tags><span class=secno>9.2.5.2 </span>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 id=generate-implied-end-tags>generate implied end
tags</dfn>, then, while the <a href=#current-node>current node</a> is a
<code>dc</code> element, a <code><a href=#the-dd-element>dd</a></code> element, a
<code>ds</code> element, a <code><a href=#the-dt-element>dt</a></code> element, an
<code><a href=#the-dd-element>dd</a></code> element, a <code><a href=#the-dt-element>dt</a></code> element, an
<code><a href=#the-li-element>li</a></code> element, an <code><a href=#the-option-element>option</a></code> element, an
<code><a href=#the-optgroup-element>optgroup</a></code> element, a <code><a href=#the-p-element>p</a></code> element, an
<code><a href=#the-rp-element>rp</a></code> element, or an <code><a href=#the-rt-element>rt</a></code> element, the UA must
@@ -65755,15 +65749,14 @@ document.body.appendChild(text);
<dd>

<p>If there is a node in the <a href=#stack-of-open-elements>stack of open elements</a>
that is not either a <code>dc</code> element, a <code><a href=#the-dd-element>dd</a></code>
element, a <code>ds</code> element, a <code><a href=#the-dt-element>dt</a></code> element, an
<code><a href=#the-li-element>li</a></code> element, a <code><a href=#the-p-element>p</a></code> element, a
that is not either a <code><a href=#the-dd-element>dd</a></code> element, a <code><a href=#the-dt-element>dt</a></code>
element, an <code><a href=#the-li-element>li</a></code> element, a <code><a href=#the-p-element>p</a></code> element, a
<code><a href=#the-tbody-element>tbody</a></code> element, a <code><a href=#the-td-element>td</a></code> element, a
<code><a href=#the-tfoot-element>tfoot</a></code> element, a <code><a href=#the-th-element>th</a></code> element, a
<code><a href=#the-thead-element>thead</a></code> element, a <code><a href=#the-tr-element>tr</a></code> element, the
<code><a href=#the-body-element-0>body</a></code> element, or the <code><a href=#the-html-element-0>html</a></code> element, then
this is a <a href=#parse-error>parse error</a>.</p> <!-- (some of those are
fragment cases) --> <!-- <dc> and <ds> are there speculatively -->
fragment cases) -->

<p><a href=#stop-parsing>Stop parsing</a>.</p>

@@ -65780,8 +65773,7 @@ document.body.appendChild(text);
body". -->

<p>Otherwise, if there is a node in the <a href=#stack-of-open-elements>stack of open
elements</a> that is not either a <code>dc</code> element, a
<code><a href=#the-dd-element>dd</a></code> element, a <code>ds</code> element, a
elements</a> that is not either a <code><a href=#the-dd-element>dd</a></code> element, a
<code><a href=#the-dt-element>dt</a></code> element, an <code><a href=#the-li-element>li</a></code> element, an
<code><a href=#the-optgroup-element>optgroup</a></code> element, an <code><a href=#the-option-element>option</a></code> element, a
<code><a href=#the-p-element>p</a></code> element, an <code><a href=#the-rp-element>rp</a></code> element, an
@@ -65792,8 +65784,7 @@ document.body.appendChild(text);
<code><a href=#the-html-element-0>html</a></code> element, then this is a <a href=#parse-error>parse
error</a>.</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
@@ -65948,8 +65939,7 @@ document.body.appendChild(text);
</ol></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>
@@ -65960,10 +65950,9 @@ document.body.appendChild(text);
node</a> (the bottommost node of the stack).</li>

<li><p><i>Loop</i>: If <var title="">node</var> is a
<code>dc</code>, <code><a href=#the-dd-element>dd</a></code>, <code>ds</code>, or
<code><a href=#the-dt-element>dt</a></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.</li>
<code><a href=#the-dd-element>dd</a></code> or <code><a href=#the-dt-element>dt</a></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.</li>

<li><p>If <var title="">node</var> is not in the
<a href=#formatting>formatting</a> category, and is not in the
@@ -66124,8 +66113,7 @@ document.body.appendChild(text);
</ol></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 <a href=#stack-of-open-elements>stack of open elements</a> does not <a href=#has-an-element-in-scope title="has an element in scope">have an element in scope</a>
@@ -67908,10 +67896,9 @@ document.body.appendChild(text);

<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",
@@ -67921,11 +67908,12 @@ document.body.appendChild(text);
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><a href=#parse-error>Parse error</a>.</p>

@@ -71590,10 +71578,10 @@ param, rp, script, source, style, title {
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; }

0 comments on commit a09f97d

Please sign in to comment.