- From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 03 Feb 2011 17:10:19 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-lists In directory hutz:/tmp/cvs-serv2877 Modified Files: Overview.src.html Log Message: Quick commit of unfinished section, so I can easily migrate to working on my laptop today. Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/css3-lists/Overview.src.html,v retrieving revision 1.21 retrieving revision 1.22 diff -u -d -r1.21 -r1.22 --- Overview.src.html 3 Feb 2011 01:42:43 -0000 1.21 +++ Overview.src.html 3 Feb 2011 17:10:17 -0000 1.22 @@ -734,7 +734,7 @@ <td><dfn>list-style-position</dfn> <tr> <th>Value: - <td>inside | outside + <td>inside | outside | hanging <tr> <th>Initial: <td>outside @@ -752,21 +752,26 @@ <td>specified value </table> -<p>This property specifies the position of the marker box in the principal block box. Values have -the following meanings:</p> +<p>This property specifies the position of the ''::marker'' pseudo-element's box +in the list item. Values have the following meanings:</p> <dl> - <dt><dfn>outside</dfn></dt> - <dd>The marker box is outside the principal block box, as described in the section on the ::marker - pseudo-element below.</dd> - <dt><dfn>inside</dfn></dt> <dd>The ''::marker'' pseudo-element is an inline element placed immediately - before all ::before pseudo-elements in the principal block box, after which the element's content + before the ''::before'' pseudo-element in the list item, 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'', except the marker is positioned, as if it were ''position:absolute'', + such that in an ltr list item the marker's right edge is positioned against the + left edge of the first line box in the list item, while in an rtl list item + the marker's left edge is positioned against the right edge of the first line + box in the list item. Note that this implies that the marker may move to stay + near the text of the list item if, for example, 'text-align' is set to ''right'' + in an ltr list item.</dd> </dl> <p>Note that a marker is only generated if the computed value of the 'content'
Received on Thursday, 3 February 2011 17:10:21 UTC