- From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 22 Jul 2011 21:19:05 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-lists In directory hutz:/tmp/cvs-serv2880 Modified Files: Overview.html Overview.src.html Log Message: Made ::marker be "unicode-bidi:isolate" in the stylesheet, adjusting the wording for where outside markers get their base directionality. Index: Overview.html =================================================================== RCS file: /sources/public/csswg/css3-lists/Overview.html,v retrieving revision 1.73 retrieving revision 1.74 diff -u -d -r1.73 -r1.74 --- Overview.html 22 Jul 2011 21:05:21 -0000 1.73 +++ Overview.html 22 Jul 2011 21:19:03 -0000 1.74 @@ -665,17 +665,15 @@ <dt><dfn id=outside>outside</dfn> <dd>As ‘<a href="#inside"><code class=css>inside</code></a>’, - plus the computed value of ‘<code - class=property>position</code>’ on the ::marker pseudo-element is - ‘<code class=css>marker</code>’. The section on the new - ‘<code class=property>marker</code>’ value for ‘<code + plus the ‘<code class=property>position</code>’ property on + the ::marker pseudo-element must computer to ‘<code + class=css>marker</code>’. The section on the new ‘<code + class=property>marker</code>’ value for ‘<code class=property>position</code>’ explains the consequences of this. - Additionally, the computed value of ‘<code - class=property>unicode-bidi</code>’ on the ::marker pseudo-element - is ‘<code class=css>isolate</code>’, with the - pseudo-element's base directionality taken from the parent of the - marker's superior parent (in HTML, this will typically be the <ul> or - <ol> that contains the <li> generating the marker). + Additionally, the base directionality of the ::marker pseudo-element + (used as an input to the bidi resolution algorithm) must be taken from + the marker's <a href="#marker-positioning-reference-element"><i>marker + positioning reference element</i></a>. </dl> <p>Note that a marker is only generated if the computed value of the @@ -890,8 +888,8 @@ class=property>display</code>’ property to ‘<code class=css>list-item</code>’ or ‘<a href="#inline-list-item"><code - class=css>inline-list-item</code></a>’. The marker box is only - created if the computed value of the ‘<code + class=css>inline-list-item</code></a>’. The ::marker pseudo-element + is only created if the computed value of the ‘<code class=property>content</code>’ property for the pseudo-element is not ‘<a href="#none"><code class=css>none</code></a>’. @@ -899,8 +897,8 @@ created, which has margins, border, padding, and everything else a box normally has. Markers are placed at the beginning of their superior parent's content, before the ::before pseudo-element (if it exists). - Marker boxes are inline by default, though certain values for ‘<a - href="#list-style-position"><code + ::marker pseudoelements are inline by default, though certain values for + ‘<a href="#list-style-position"><code class=property>list-style-position</code></a>’ on the list item can make the marker box positioned, which can have an effect on the computed value of display. @@ -1329,8 +1327,7 @@ href="#markers-associated-with-that-list-item"><i title=associated-marker>associated markers</i></a> instead base their positioning off of the directionality of the list item's parent element. - - <p>The normative meaning of this is specified in the section defining <a + The normative meaning of this is specified in the section defining <a href="#position-marker">position:marker</a>.</p> <!-- ===================================================================== --> @@ -4330,6 +4327,7 @@ display: inline; margin-right: 1em; text-align: end; + unicode-bidi: isolate; /* 'position' computes to "static" or "marker" depending on list-style-position */ } </pre> Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/css3-lists/Overview.src.html,v retrieving revision 1.122 retrieving revision 1.123 diff -u -d -r1.122 -r1.123 --- Overview.src.html 22 Jul 2011 21:05:21 -0000 1.122 +++ Overview.src.html 22 Jul 2011 21:19:03 -0000 1.123 @@ -333,7 +333,7 @@ <dd>The ''::marker'' pseudo-element is a 'display:inline' element placed immediately before the ''::before'' pseudo-element in the <i>list item</i>'s principle box, after which the element's content flows. Note that if there is no inline content, this will create a line box, just as content in an inline ''::before'' pseudo-element would. Also note that all the properties that apply to inline elements apply to the ''::marker'' pseudo-element in this state, and this ''::marker'' box participates in the inline box model in the normal manner.</dd> <dt><dfn>outside</dfn></dt> - <dd>As ''inside'', plus the computed value of 'position' on the ::marker pseudo-element is ''marker''. The section on the new 'marker' value for 'position' explains the consequences of this. Additionally, the computed value of 'unicode-bidi' on the ::marker pseudo-element is ''isolate'', with the pseudo-element's base directionality taken from the parent of the marker's superior parent (in HTML, this will typically be the <ul> or <ol> that contains the <li> generating the marker).</dd> + <dd>As ''inside'', plus the 'position' property on the ::marker pseudo-element must computer to ''marker''. The section on the new 'marker' value for 'position' explains the consequences of this. Additionally, the base directionality of the ::marker pseudo-element (used as an input to the bidi resolution algorithm) must be taken from the marker's <i>marker positioning reference element</i>.</dd> </dl> <p>Note that a marker is only generated if the computed value of the 'content' @@ -497,11 +497,11 @@ Markers: The ''::marker'' pseudo-element</h2> <p>Markers are created by setting an element's 'display' property to - ''list-item'' or ''inline-list-item''. The marker box is only created if + ''list-item'' or ''inline-list-item''. The ::marker pseudo-element is only created if the computed value of the 'content' property for the pseudo-element is not ''none''.</p> - <p>Just like other generated content, markers generate a box when they're created, which has margins, border, padding, and everything else a box normally has. Markers are placed at the beginning of their superior parent's content, before the ::before pseudo-element (if it exists). Marker boxes are inline by default, though certain values for 'list-style-position' on the list item can make the marker box positioned, which can have an effect on the computed value of display.</p> + <p>Just like other generated content, markers generate a box when they're created, which has margins, border, padding, and everything else a box normally has. Markers are placed at the beginning of their superior parent's content, before the ::before pseudo-element (if it exists). ::marker pseudoelements are inline by default, though certain values for 'list-style-position' on the list item can make the marker box positioned, which can have an effect on the computed value of display.</p> <div class="example"> <p>In the following example, the content is centered within a marker @@ -793,9 +793,9 @@ <td>specified value </table> - <p>When a list item has ''marker-attachment:list-item'', any <i title='associated-marker'>markers associated with the list item</i> base their positioning off of the directionality of the list item. When a list item has ''marker-attachment:list-container'', the <i title='associated-marker'>associated markers</i> instead base their positioning off of the directionality of the list item's parent element.</p> + <p>When a list item has ''marker-attachment:list-item'', any <i title='associated-marker'>markers associated with the list item</i> base their positioning off of the directionality of the list item. When a list item has ''marker-attachment:list-container'', the <i title='associated-marker'>associated markers</i> instead base their positioning off of the directionality of the list item's parent element. The normative meaning of this is specified in the section defining <a href="#position-marker">position:marker</a>.</p> + - <p>The normative meaning of this is specified in the section defining <a href="#position-marker">position:marker</a>.</p> <!-- ===================================================================== --> @@ -3259,6 +3259,7 @@ display: inline; margin-right: 1em; text-align: end; + unicode-bidi: isolate; /* 'position' computes to "static" or "marker" depending on list-style-position */ } </pre>
Received on Friday, 22 July 2011 21:19:10 UTC