- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 29 Sep 2009 00:48:08 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv24042 Modified Files: Overview.html Log Message: Change how <details> renders by default to use the <dt> and <dd> elements. (whatwg r4016) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.3177 retrieving revision 1.3178 diff -u -d -r1.3177 -r1.3178 --- Overview.html 29 Sep 2009 00:42:04 -0000 1.3177 +++ Overview.html 29 Sep 2009 00:48:05 -0000 1.3178 @@ -66338,19 +66338,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.
Received on Tuesday, 29 September 2009 00:48:17 UTC