[html5] r4878 - [giow] (0) Made <details> ltr/rtl agnostic. Fixing http://www.w3.org/Bugs/Public [...]

whatwg at whatwg.org whatwg at whatwg.org
Sun Mar 28 21:35:47 PDT 2010


Author: ianh
Date: 2010-03-28 21:35:45 -0700 (Sun, 28 Mar 2010)
New Revision: 4878

Modified:
   complete.html
   index
   source
Log:
[giow] (0) Made <details> ltr/rtl agnostic.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=9103

Modified: complete.html
===================================================================
--- complete.html	2010-03-29 04:31:50 UTC (rev 4877)
+++ complete.html	2010-03-29 04:35:45 UTC (rev 4878)
@@ -84998,12 +84998,14 @@
 
   <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 the element's first child
-  <code><a href=#the-summary-element>summary</a></code> element, if any, and place it in a first
-  'block' box container, and then take the element's remaining
-  descendants, if any, and place them in a second 'block' box
-  container.</p>
+  'block' box with its 'padding-left' property set to '40px' for
+  left-to-right elements (<a href=#ltr-specific>LTR-specific</a>) and with its
+  'padding-right' property set to '40px' for right-to-left
+  elements. The element's shadow tree is expected to take the
+  element's first child <code><a href=#the-summary-element>summary</a></code> element, if any, and
+  place it in a first 'block' box container, and then take the
+  element's remaining descendants, if any, and place them in a second
+  'block' box container.</p>
 
   <p>The first container is expected to contain at least one line box,
   and that line box is expected to contain a disclosure widget

Modified: index
===================================================================
--- index	2010-03-29 04:31:50 UTC (rev 4877)
+++ index	2010-03-29 04:35:45 UTC (rev 4878)
@@ -78271,12 +78271,14 @@
 
   <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 the element's first child
-  <code><a href=#the-summary-element>summary</a></code> element, if any, and place it in a first
-  'block' box container, and then take the element's remaining
-  descendants, if any, and place them in a second 'block' box
-  container.</p>
+  'block' box with its 'padding-left' property set to '40px' for
+  left-to-right elements (<a href=#ltr-specific>LTR-specific</a>) and with its
+  'padding-right' property set to '40px' for right-to-left
+  elements. The element's shadow tree is expected to take the
+  element's first child <code><a href=#the-summary-element>summary</a></code> element, if any, and
+  place it in a first 'block' box container, and then take the
+  element's remaining descendants, if any, and place them in a second
+  'block' box container.</p>
 
   <p>The first container is expected to contain at least one line box,
   and that line box is expected to contain a disclosure widget

Modified: source
===================================================================
--- source	2010-03-29 04:31:50 UTC (rev 4877)
+++ source	2010-03-29 04:35:45 UTC (rev 4878)
@@ -94351,12 +94351,14 @@
 
   <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 the element's first child
-  <code>summary</code> element, if any, and place it in a first
-  'block' box container, and then take the element's remaining
-  descendants, if any, and place them in a second 'block' box
-  container.</p>
+  'block' box with its 'padding-left' property set to '40px' for
+  left-to-right elements (<span>LTR-specific</span>) and with its
+  'padding-right' property set to '40px' for right-to-left
+  elements. The element's shadow tree is expected to take the
+  element's first child <code>summary</code> element, if any, and
+  place it in a first 'block' box container, and then take the
+  element's remaining descendants, if any, and place them in a second
+  'block' box container.</p>
 
   <p>The first container is expected to contain at least one line box,
   and that line box is expected to contain a disclosure widget




More information about the Commit-Watchers mailing list