[html5] r4016 - [] (0) Change how <details> renders by default to use the <dt> and <dd> elements [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon Sep 28 17:56:21 PDT 2009


Author: ianh
Date: 2009-09-28 17:56:20 -0700 (Mon, 28 Sep 2009)
New Revision: 4016

Modified:
   index
   source
Log:
[] (0) Change how <details> renders by default to use the <dt> and <dd> elements.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=7628

Modified: index
===================================================================
--- index	2009-09-29 00:50:19 UTC (rev 4015)
+++ index	2009-09-29 00:56:20 UTC (rev 4016)
@@ -72762,19 +72762,20 @@
   <p>When the <i title="">details</i> binding applies to a
   <code><a href=#the-details-element>details</a></code> element, the element is expected to render as a
   'block' box with its 'padding-left' property set to '40px'. The
-  element's shadow tree is expected to take a child element that
-  matches the selector <code title="">:bound-element > dt:first-of-type</code> and
-  place it in a first 'block' box container, and then take the
-  remaining child nodes and place them in a later 'block' box
-  container.</p>
+  element's shadow tree is expected to take the element's first child
+  <code><a href=#the-dt-element>dt</a></code> element, if any, and place it in a first 'block' box
+  container, and then take the element's first child <code><a href=#the-dd-element>dd</a></code>
+  element, if any, and place it in a second 'block' box container,
+  ignoring all the other children of the element.</p>
 
   <p>The first container is expected to contain at least one line box,
-  and that line box is expected to contain a triangle widget,
-  horizontally positioned within the left padding of the
-  <code><a href=#the-details-element>details</a></code> element. That widget is expected to allow the
-  user to request that the details be shown or hidden.</p>
+  and that line box is expected to contain a disclosure widget
+  (typically a triangle), horizontally positioned within the left
+  padding of the <code><a href=#the-details-element>details</a></code> element. That widget is expected
+  to allow the user to request that the details be shown or
+  hidden.</p>
 
-  <p>The later container is expected to have its 'overflow' property
+  <p>The second container is expected to have its 'overflow' property
   set to 'hidden'. When the <code><a href=#the-details-element>details</a></code> element has an <code title=attr-details-open><a href=#attr-details-open>open</a></code> attribute, the later container
   is expected to have its 'height' set to 'auto'; when it does not,
   the later container is expected to have its 'height' set to 0.

Modified: source
===================================================================
--- source	2009-09-29 00:50:19 UTC (rev 4015)
+++ source	2009-09-29 00:56:20 UTC (rev 4016)
@@ -86366,20 +86366,20 @@
   <p>When the <i title="">details</i> binding applies to a
   <code>details</code> element, the element is expected to render as a
   'block' box with its 'padding-left' property set to '40px'. The
-  element's shadow tree is expected to take a child element that
-  matches the selector <code
-  title="">:bound-element > dt:first-of-type</code> and
-  place it in a first 'block' box container, and then take the
-  remaining child nodes and place them in a later 'block' box
-  container.</p>
+  element's shadow tree is expected to take the element's first child
+  <code>dt</code> element, if any, and place it in a first 'block' box
+  container, and then take the element's first child <code>dd</code>
+  element, if any, and place it in a second 'block' box container,
+  ignoring all the other children of the element.</p>
 
   <p>The first container is expected to contain at least one line box,
-  and that line box is expected to contain a triangle widget,
-  horizontally positioned within the left padding of the
-  <code>details</code> element. That widget is expected to allow the
-  user to request that the details be shown or hidden.</p>
+  and that line box is expected to contain a disclosure widget
+  (typically a triangle), horizontally positioned within the left
+  padding of the <code>details</code> element. That widget is expected
+  to allow the user to request that the details be shown or
+  hidden.</p>
 
-  <p>The later container is expected to have its 'overflow' property
+  <p>The second container is expected to have its 'overflow' property
   set to 'hidden'. When the <code>details</code> element has an <code
   title="attr-details-open">open</code> attribute, the later container
   is expected to have its 'height' set to 'auto'; when it does not,




More information about the Commit-Watchers mailing list