|
25 | 25 |
|
26 | 26 | <h1>CSS Lists and Counters Module Level 3</h1> |
27 | 27 |
|
28 | | - <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 17 August 2012</h2> |
| 28 | + <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 18 August 2012</h2> |
29 | 29 |
|
30 | 30 | <dl> |
31 | 31 | <dt>This version: |
32 | 32 |
|
33 | | - <dd><!--<a href="http://www.w3.org/TR/2012/WD-css3-lists-20120817">http://www.w3.org/TR/2012/WD-css3-lists-20120817</a>--> |
| 33 | + <dd><!--<a href="http://www.w3.org/TR/2012/WD-css3-lists-20120818">http://www.w3.org/TR/2012/WD-css3-lists-20120818</a>--> |
34 | 34 | <a |
35 | 35 | href="http://dev.w3.org/csswg/css3-lists/">http://dev.w3.org/csswg/css3-lists/</a> |
36 | 36 |
|
@@ -346,28 +346,22 @@ <h2 id=introduction><span class=secno>1. </span> Introduction</h2> |
346 | 346 | <h2 id=declaring-a-list-item><span class=secno>2. </span> Declaring a List |
347 | 347 | Item</h2> |
348 | 348 |
|
349 | | - <p>To declare a <dfn id=list-item>list item</dfn>, the ‘<code |
350 | | - class=property>display</code>’property must be set to ‘<code |
351 | | - class=css>list-item</code>’ or ‘<a href="#inline-list-item"><code |
352 | | - class=css>inline-list-item</code></a>’ (defined later in this section). |
353 | | - This, in addition to generating a ‘<code |
354 | | - class=css>::marker</code>’pseudo-element and enabling the properties |
355 | | - described below for that element, causes that element to increment the |
356 | | - list item counter ‘<code class=css>list-item</code>’: if the element |
357 | | - doesn't otherwise have a ‘<a href="#counter-increment"><code |
358 | | - class=property>counter-increment</code></a>’ declaration, it must act as |
359 | | - if ‘<code class=css>counter-increment: list-item</code>’ were |
360 | | - specified. (This does not affect the specified or computed values of the |
361 | | - counter properties.) |
362 | | - |
363 | | - <p>The ‘<code class=css>list-item</code>’ counter is a real counter, |
364 | | - and can be directly affected using the ‘<a |
365 | | - href="#counter-increment"><code |
366 | | - class=property>counter-increment</code></a>’ and ‘<a |
367 | | - href="#counter-reset"><code class=css>counter-reset</code></a>’ |
368 | | - properties. It can also be used in the ‘<code |
369 | | - class=css>counter()</code>’ and ‘<code class=css>counters()</code>’ |
370 | | - functions. |
| 349 | + <p> A <dfn id=list-item title="list item|list items">list item</dfn> is any |
| 350 | + element with its ‘<code class=property>display</code>’ property set to |
| 351 | + ‘<code class=css>list-item</code>’ or ‘<a |
| 352 | + href="#inline-list-item"><code class=css>inline-list-item</code></a>’. |
| 353 | + <a href="#list-item"><i>List items</i></a> generate ‘<code |
| 354 | + class=css>::marker</code>’ pseudo-elements; no other elements do. |
| 355 | + |
| 356 | + <p> Additionally, <a href="#list-item"><i>list items</i></a> automatically |
| 357 | + increment the special ‘<code class=css>list-item</code>’ |
| 358 | + <i>counter</i>. Unless the ‘<a href="#counter-increment"><code |
| 359 | + class=property>counter-increment</code></a>’ property manually specifies |
| 360 | + a different increment for the ‘<code class=css>list-item</code>’ |
| 361 | + <i>counter</i>, it must be incremented by 1 on every <a |
| 362 | + href="#list-item"><i>list item</i></a>, at the same time that |
| 363 | + <i>counters</i> are normally incremented. (This has no effect on the |
| 364 | + values of the ‘<code class=css>counter-*</code>’ properties.) |
371 | 365 |
|
372 | 366 | <table class=propdef> |
373 | 367 | <tbody> |
@@ -412,15 +406,18 @@ <h2 id=declaring-a-list-item><span class=secno>2. </span> Declaring a List |
412 | 406 | <td>same as CSS2.1 |
413 | 407 | </table> |
414 | 408 |
|
415 | | - <p>The ‘<a href="#inline-list-item"><code |
| 409 | + <p> The ‘<a href="#inline-list-item"><code |
416 | 410 | class=css>inline-list-item</code></a>’ display value makes the element a |
417 | | - list item, which means it can generate a <code class=css>::marker</code> |
418 | | - pseudo-element. The element also affects the predefined ‘<code |
419 | | - class=css>list-item</code>’ counter, as specified above. Otherwise, this |
420 | | - display value is treated identically to ‘<code |
| 411 | + <a href="#list-item"><i>list item</i></a>, with the effects described |
| 412 | + above. Additionally, the ‘<a href="#outside"><code |
| 413 | + class=css>outside</code></a>’ value of ‘<a |
| 414 | + href="#list-style-position"><code |
| 415 | + class=property>list-style-position</code></a>’ computes to ‘<a |
| 416 | + href="#inside"><code class=css>inside</code></a>’ on this element. |
| 417 | + Otherwise, this display value is treated identically to ‘<code |
421 | 418 | class=css>inline</code>’. |
422 | 419 |
|
423 | | - <p class=note>This display value is silly, and only necessary because we |
| 420 | + <p class=note> This display value is silly, and only necessary because we |
424 | 421 | haven't yet defined ‘<code class=property>display</code>’ to be split |
425 | 422 | into subproperties. When that happens, "being a list item" will just be a |
426 | 423 | property value that can apply to block, inline, and other elements. |
@@ -3576,6 +3573,9 @@ <h2 class=no-num id=index>Index</h2> |
3576 | 3573 | <li>list item positioning edge, <a href="#list-item-positioning-edge" |
3577 | 3574 | title="list item positioning edge"><strong>7.1.</strong></a> |
3578 | 3575 |
|
| 3576 | + <li>list items, <a href="#list-item" |
| 3577 | + title="list items"><strong>2.</strong></a> |
| 3578 | + |
3579 | 3579 | <li>list-style, <a href="#list-style" |
3580 | 3580 | title=list-style><strong>5.</strong></a> |
3581 | 3581 |
|
|
0 commit comments