Skip to content

Commit

Permalink
[e] (0) Put back <details> into the W3C copy of the spec.
Browse files Browse the repository at this point in the history
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=8379

git-svn-id: http://svn.whatwg.org/webapps@4552 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jan 9, 2010
1 parent a45536d commit 6731134
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 144 deletions.
56 changes: 9 additions & 47 deletions complete.html
Expand Up @@ -110,7 +110,7 @@

<header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
<hgroup><h1>Web Applications 1.0</h1>
<h2 class="no-num no-toc">Draft Standard &mdash; 8 January 2010</h2>
<h2 class="no-num no-toc">Draft Standard &mdash; 9 January 2010</h2>
</hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
<p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
<!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
Expand Down Expand Up @@ -8568,9 +8568,7 @@ <h6 id=flow-content-0><span class=secno>3.2.5.1.2 </span>Flow content</h6>
<!-- v2DATAGRID <li><code>datagrid</code></li> -->
<li><code><a href=#the-datalist-element>datalist</a></code></li>
<li><code><a href=#the-del-element>del</a></code></li>

<li><code><a href=#the-details-element>details</a></code></li>

<li><code><a href=#the-dfn-element>dfn</a></code></li>
<li><code><a href=#the-div-element>div</a></code></li>
<li><code><a href=#the-dl-element>dl</a></code></li>
Expand Down Expand Up @@ -8808,9 +8806,7 @@ <h6 id=interactive-content-0><span class=secno>3.2.5.1.7 </span>Interactive cont
<li><code><a href=#audio>audio</a></code> (if the <code title=attr-media-controls><a href=#attr-media-controls>controls</a></code> attribute is present)</li>
<li><code><a href=#the-button-element>button</a></code></li>
<!-- v2DATAGRID <li><code>datagrid</code></li> -->

<li><code><a href=#the-details-element>details</a></code></li>

<li><code><a href=#the-embed-element>embed</a></code></li>
<li><code><a href=#the-iframe-element>iframe</a></code></li>
<li><code><a href=#the-img-element>img</a></code> (if the <code title=attr-hyperlink-usemap><a href=#attr-hyperlink-usemap>usemap</a></code> attribute is present)</li>
Expand Down Expand Up @@ -12198,14 +12194,12 @@ <h3 id=scripting-1><span class=secno>4.3 </span>Scripting</h3>
scripting where possible, as declarative mechanisms are often more
maintainable, and many users disable scripting.</p>


<div class=example>
<p>For example, instead of using script to show or hide a section
to show more details, the <code><a href=#the-details-element>details</a></code> element could be
used.</p>
</div>


<p>Authors are also encouraged to make their applications degrade
gracefully in the absence of scripting support.</p>

Expand Down Expand Up @@ -14260,9 +14254,7 @@ <h4 id=headings-and-sections><span class=secno>4.4.11 </span><dfn>Headings and s
<ul class="brief category-list"><li><code><a href=#the-blockquote-element>blockquote</a></code></li>
<li><code><a href=#the-body-element-0>body</a></code></li>
<!-- v2DATAGRID <li><code>datagrid</code></li> -->

<li><code><a href=#the-details-element>details</a></code></li>

<li><code><a href=#the-fieldset-element>fieldset</a></code></li>
<li><code><a href=#the-figure-element>figure</a></code></li>
<li><code><a href=#the-td-element>td</a></code></li>
Expand Down Expand Up @@ -15538,28 +15530,19 @@ <h4 id=the-dt-element><span class=secno>4.5.10 </span>The <dfn><code>dt</code></
<dt>Contexts in which this element may be used:</dt>
<dd>Before <code><a href=#the-dd-element>dd</a></code> or <code><a href=#the-dt-element>dt</a></code> elements inside <code><a href=#the-dl-element>dl</a></code> elements.</dd>
<dd>In a <code><a href=#the-figure-element>figure</a></code> element containing no other <code><a href=#the-dt-element>dt</a></code> element children.</dd>

<dd>As the first child of a <code><a href=#the-details-element>details</a></code> element.</dd>

<dt>Content model:</dt>
<dd>When the parent node is a <code><a href=#the-figure-element>figure</a></code> element: <a href=#flow-content>flow content</a>, but with no descendant <code><a href=#the-figure-element>figure</a></code> elements.</dd>
<dd>Otherwise: <a href=#phrasing-content>phrasing content</a>.</dd>
<dt>Content attributes:</dt>
<dd><a href=#global-attributes>Global attributes</a></dd>
<dt>DOM interface:</dt>
<dd>Uses <code><a href=#htmlelement>HTMLElement</a></code>.</dd>
</dl><p>The <code><a href=#the-dt-element>dt</a></code> element <a href=#represents>represents</a>

either:

the term, or name, part of a term-description group in a description
list (<code><a href=#the-dl-element>dl</a></code> element)<!--
--><!--
-->; or, the caption of a
</dl><p>The <code><a href=#the-dt-element>dt</a></code> element <a href=#represents>represents</a> either: the
term, or name, part of a term-description group in a description
list (<code><a href=#the-dl-element>dl</a></code> element); or, the caption of a
<code><a href=#the-figure-element>figure</a></code> element; or, the summary of a
<code><a href=#the-details-element>details</a></code> element<!--
--><!--
-->.</p>
<code><a href=#the-details-element>details</a></code> element.</p>

<p class=note>The <code><a href=#the-dt-element>dt</a></code> element itself, when used in a
<code><a href=#the-dl-element>dl</a></code> element, does not indicate that its contents are a
Expand All @@ -15576,27 +15559,18 @@ <h4 id=the-dd-element><span class=secno>4.5.11 </span>The <dfn><code>dd</code></
<dt>Contexts in which this element may be used:</dt>
<dd>After <code><a href=#the-dt-element>dt</a></code> or <code><a href=#the-dd-element>dd</a></code> elements inside <code><a href=#the-dl-element>dl</a></code> elements.</dd>
<dd>In a <code><a href=#the-figure-element>figure</a></code> element containing no other <code><a href=#the-dd-element>dd</a></code> element children.</dd>

<dd>As the last child of a <code><a href=#the-details-element>details</a></code> element.</dd>

<dt>Content model:</dt>
<dd><a href=#flow-content>Flow content</a>.</dd>
<dt>Content attributes:</dt>
<dd><a href=#global-attributes>Global attributes</a></dd>
<dt>DOM interface:</dt>
<dd>Uses <code><a href=#htmlelement>HTMLElement</a></code>.</dd>
</dl><p>The <code><a href=#the-dd-element>dd</a></code> element <a href=#represents>represents</a>

either:

the
</dl><p>The <code><a href=#the-dd-element>dd</a></code> element <a href=#represents>represents</a> either: the
description, definition, or value, part of a term-description group
in a description list (<code><a href=#the-dl-element>dl</a></code> element)<!--
--><!--
-->; or, the data of a <code><a href=#the-figure-element>figure</a></code> element; or, the details
of a <code><a href=#the-details-element>details</a></code> element<!--
--><!--
-->.</p>
in a description list (<code><a href=#the-dl-element>dl</a></code> element); or, the data of a
<code><a href=#the-figure-element>figure</a></code> element; or, the details of a
<code><a href=#the-details-element>details</a></code> element.</p>

<div class=example>

Expand Down Expand Up @@ -27990,7 +27964,6 @@ <h4 id=the-table-element><span class=secno>4.9.1 </span>The <dfn><code>table</co
&lt;/table&gt;</pre></div>
</dd>


<dt>In the table's <code><a href=#the-caption-element>caption</a></code>, in a <code><a href=#the-details-element>details</a></code> element</dt>

<dd>
Expand Down Expand Up @@ -28023,7 +27996,6 @@ <h4 id=the-table-element><span class=secno>4.9.1 </span>The <dfn><code>table</co
&lt;/table&gt;</pre></div>
</dd>


<dt>Next to the table, in the same <code><a href=#the-figure-element>figure</a></code></dt>

<dd>
Expand Down Expand Up @@ -40128,7 +40100,6 @@ <h4 id=event-dispatch><span class=secno>4.10.21 </span>Event dispatch</h4>

<h3 id=interactive-elements><span class=secno>4.11 </span>Interactive elements</h3>


<h4 id=the-details-element><span class=secno>4.11.1 </span>The <dfn><code>details</code></dfn> element</h4>

<dl class=element><dt>Categories</dt>
Expand Down Expand Up @@ -40235,7 +40206,6 @@ <h4 id=the-details-element><span class=secno>4.11.1 </span>The <dfn><code>detail
</div>



<!-- v2DATAGRID
<h4 id="datagrid">The <dfn><code>datagrid</code></dfn> element</h4>

Expand Down Expand Up @@ -80873,7 +80843,6 @@ <h4>The <code>datagrid</code> element</h4>
</div>
-->


<div class=impl>

<h4 id=the-details-element-0><span class=secno>13.4.3 </span>The <code><a href=#the-details-element>details</a></code> element</h4>
Expand Down Expand Up @@ -80907,7 +80876,6 @@ <h4 id=the-details-element-0><span class=secno>13.4.3 </span>The <code><a href=#

</div>


<div class=impl>

<h4 id=the-input-element-as-a-text-entry-widget><span class=secno>13.4.4 </span>The <code><a href=#the-input-element>input</a></code> element as a text entry widget</h4>
Expand Down Expand Up @@ -84114,9 +84082,7 @@ <h3 class=no-num id=elements-1>Elements</h3>
<td>none</td>
<td><code><a href=#the-dl-element>dl</a></code>;
<code><a href=#the-figure-element>figure</a></code>;

<code><a href=#the-details-element>details</a></code></td>

<td><a href=#flow-content title="Flow content">flow</a></td>
<td><a href=#global-attributes title="global attributes">globals</a></td>
<td><code><a href=#htmlelement>HTMLElement</a></code></td>
Expand Down Expand Up @@ -84170,9 +84136,7 @@ <h3 class=no-num id=elements-1>Elements</h3>
<td>none</td>
<td><code><a href=#the-dl-element>dl</a></code>;
<code><a href=#the-figure-element>figure</a></code>;

<code><a href=#the-details-element>details</a></code></td>

<td>varies*</td>
<td><a href=#global-attributes title="global attributes">globals</a></td>
<td><code><a href=#htmlelement>HTMLElement</a></code></td>
Expand Down Expand Up @@ -85326,12 +85290,10 @@ <h3 class=no-num id=attributes-0>Attributes</h3>
<td> <code title=attr-fs-novalidate><a href=#attr-fs-novalidate>form</a></code>
<td> Bypass form control validation for <a href=#form-submission>form submission</a>
<td> <a href=#boolean-attribute>Boolean attribute</a>

<tr><th> <code title="">open</code>
<td> <code title=attr-details-open><a href=#attr-details-open>details</a></code>
<td> Whether the details are visible
<td> <a href=#boolean-attribute>Boolean attribute</a>

<tr><th> <code title="">optimum</code>
<td> <code title=attr-meter-optimum><a href=#attr-meter-optimum>meter</a></code>
<td> Optimum value in gauge
Expand Down

0 comments on commit 6731134

Please sign in to comment.