|
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 3 November |
| 28 | + <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 15 November |
29 | 29 | 2011</h2> |
30 | 30 |
|
31 | 31 | <dl> |
32 | 32 | <dt>This version: |
33 | 33 |
|
34 | | - <dd><!--<a href="http://www.w3.org/TR/2011/WD-css3-lists-20111103">http://www.w3.org/TR/2011/WD-css3-lists-20111103</a></dd>--> |
| 34 | + <dd><!--<a href="http://www.w3.org/TR/2011/WD-css3-lists-20111115">http://www.w3.org/TR/2011/WD-css3-lists-20111115</a></dd>--> |
35 | 35 | <a |
36 | 36 | href="http://dev.w3.org/csswg/css3-lists/">http://dev.w3.org/csswg/css3-lists/</a> |
37 | 37 |
|
@@ -1463,6 +1463,30 @@ <h2 id=counter-style><span class=secno>8. </span> Defining Custom Counter |
1463 | 1463 | be "decimal", "default", "inherit", "initial", "inside", "none", or |
1464 | 1464 | "outside"; otherwise the @counter-style is invalid and must be ignored. |
1465 | 1465 |
|
| 1466 | + <div class=issue> |
| 1467 | + <p>Hakon suggests adding a shorthand version of @counter-style that just |
| 1468 | + takes a name and a set of glyphs, and automatically treats them as a |
| 1469 | + symbolic style (similar to the defaults for symbols()). In other words, |
| 1470 | + saying something like this:</p> |
| 1471 | + |
| 1472 | + <pre>@counter-style footnotes "*" "+" "-";</pre> |
| 1473 | + |
| 1474 | + <p>would be identical to this:</p> |
| 1475 | + |
| 1476 | + <pre> |
| 1477 | +@counter-style footnotes { |
| 1478 | + type: symbolic; |
| 1479 | + glyphs: "*" "+" "-"; |
| 1480 | +}</pre> |
| 1481 | + |
| 1482 | + <p>I'm not sure if this is necessary, but I'm not against it either. I'd |
| 1483 | + probably also allow an "as <type>" tacked on at the end, so it's |
| 1484 | + basically just the contents of the symbols() function. Hell, maybe even |
| 1485 | + just use the symbols() function directly, like:</p> |
| 1486 | + |
| 1487 | + <pre>@counter-style footnotes symbols("*" "+" "-" as repeating);</pre> |
| 1488 | + </div> |
| 1489 | + |
1466 | 1490 | <h3 id=counter-style-type><span class=secno>8.1. </span> Counter |
1467 | 1491 | algorithms: the ‘<a href="#descdef-type"><code |
1468 | 1492 | class=property>type</code></a>’ descriptor</h3> |
|
0 commit comments