HTML Standard Tracker

Diff (omit for latest revision)
Filter

Short URL: http://html5.org/r/3825

File a bug

SVNBugCommentTime (UTC)
3825<details> example2009-09-13 11:23
Index: source
===================================================================
--- source	(revision 3824)
+++ source	(revision 3825)
@@ -43686,7 +43686,30 @@
 
   </div>
 
+  <div class="example">
 
+   <p>The following example shows the <code>details</code> element
+   being used to hide technical details in a progress report.</p>
+
+   <pre>&lt;section class="progress window">
+ &lt;h1>Copying "Really Achieving Your Childhood Dreams"&lt;/h1>
+ &lt;details>
+  &lt;legend>Copying... &lt;progress max="375505392" value="97543282">&lt;/progress> 25%&lt;/legend>
+  &lt;dl>
+   &lt;dt>Transfer rate:&lt;/dt> &lt;dd>452KB/s&lt;/dd>
+   &lt;dt>Local filename:&lt;/dt> &lt;dd>/home/rpausch/raycd.m4v&lt;/dd>
+   &lt;dt>Remote filename:&lt;/dt> &lt;dd>/var/www/lectures/raycd.m4v&lt;/dd>
+   &lt;dt>Duration:&lt;/dt> &lt;dd>01:16:27&lt;/dd>
+   &lt;dt>Color profile:&lt;/dt> &lt;dd>SD (6-1-6)&lt;/dd>
+   &lt;dt>Dimensions:&lt;/dt> &lt;dd>320&times;240&lt;/dd>
+  &lt;/dl>
+ &lt;/details>
+&lt;/section></pre>
+
+  </div>
+
+
+
 <!-- v2DATAGRID
   <h4 id="datagrid">The <dfn><code>datagrid</code></dfn> element</h4>
 

|