- From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 07 Dec 2011 16:54:29 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-lists In directory hutz:/tmp/cvs-serv6926 Modified Files: Overview.html Overview.src.html Log Message: Specified exactly what it means for display:list-item to increment the list-item counter. Index: Overview.html =================================================================== RCS file: /sources/public/csswg/css3-lists/Overview.html,v retrieving revision 1.132 retrieving revision 1.133 diff -u -d -r1.132 -r1.133 --- Overview.html 7 Dec 2011 15:51:47 -0000 1.132 +++ Overview.html 7 Dec 2011 16:54:27 -0000 1.133 @@ -339,16 +339,19 @@ Item</h2> <p>To declare a <dfn id=list-item>list item</dfn>, the ‘<code - class=property>display</code>’ property must be set to ‘<code + class=property>display</code>’property must be set to ‘<code class=css>list-item</code>’ or ‘<a href="#inline-list-item"><code class=css>inline-list-item</code></a>’ (defined later in this - section). This, in addition to generating a <code - class=css>::marker</code> pseudo-element and enabling the properties + section). This, in addition to generating a ‘<code + class=css>::marker</code>’pseudo-element and enabling the properties described below for that element, causes that element to increment the - list item counter ‘<code class=css>list-item</code>’. (This - does not affect the specified or computed values of the counter - properties.) + list item counter ‘<code class=css>list-item</code>’: if the + element doesn't otherwise have a ‘<a href="#counter-increment"><code + class=property>counter-increment</code></a>’ declaration, it must + act as if ‘<code class=css>counter-increment: + list-item</code>’ were specified. (This does not affect the + specified or computed values of the counter properties.) <p>The ‘<code class=css>list-item</code>’ counter is a real counter, and can be directly affected using the ‘<a Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/css3-lists/Overview.src.html,v retrieving revision 1.179 retrieving revision 1.180 diff -u -d -r1.179 -r1.180 --- Overview.src.html 7 Dec 2011 15:51:47 -0000 1.179 +++ Overview.src.html 7 Dec 2011 16:54:27 -0000 1.180 @@ -129,13 +129,7 @@ <h2> Declaring a List Item</h2> - <p>To declare a <dfn>list item</dfn>, the 'display' - property must be set to ''list-item'' or ''inline-list-item'' (defined - later in this section). This, in addition to generating a <code class=css>::marker</code> - pseudo-element and enabling the properties described below for that element, - causes that element to increment the list item counter ''list-item''. - (This does not affect the specified or computed values of the counter - properties.)</p> + <p>To declare a <dfn>list item</dfn>, the 'display'property must be set to ''list-item'' or ''inline-list-item'' (defined later in this section). This, in addition to generating a ''::marker''pseudo-element and enabling the properties described below for that element, causes that element to increment the list item counter ''list-item'': if the element doesn't otherwise have a 'counter-increment' declaration, it must act as if ''counter-increment: list-item'' were specified. (This does not affect the specified or computed values of the counter properties.)</p> <p>The ''list-item'' counter is a real counter, and can be directly affected using the 'counter-increment' and ''counter-reset''
Received on Wednesday, 7 December 2011 16:54:34 UTC