- From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 17 Nov 2011 22:35:55 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-lists In directory hutz:/tmp/cvs-serv19045 Modified Files: Overview.html Overview.src.html Log Message: Gave 'type' a default value in @counter-style, removed Hakon's issue. Index: Overview.html =================================================================== RCS file: /sources/public/csswg/css3-lists/Overview.html,v retrieving revision 1.85 retrieving revision 1.86 diff -u -d -r1.85 -r1.86 --- Overview.html 15 Nov 2011 00:43:29 -0000 1.85 +++ Overview.html 17 Nov 2011 22:35:53 -0000 1.86 @@ -25,13 +25,13 @@ <h1>CSS Lists and Counters Module Level 3</h1> - <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 15 November + <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 17 November 2011</h2> <dl> <dt>This version: - <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>--> + <dd><!--<a href="http://www.w3.org/TR/2011/WD-css3-lists-20111117">http://www.w3.org/TR/2011/WD-css3-lists-20111117</a></dd>--> <a href="http://dev.w3.org/csswg/css3-lists/">http://dev.w3.org/csswg/css3-lists/</a> @@ -1456,37 +1456,10 @@ <p>This at-rule conforms with the forward-compatible parsing requirement of CSS; parsers may ignore these rules without error. Any descriptors that are not recognized or implemented by a given user agent must be ignored. - @counter-style rules require a ‘<a href="#descdef-type"><code - class=property>type</code></a>’ descriptor; if this is missing the - @counter-style is invalid and must be ignored. The - <i><counter-style-name></i> must be be a valid identifier and must not - be "decimal", "default", "inherit", "initial", "inside", "none", or + The <i><counter-style-name></i> must be be a valid identifier and must + not be "decimal", "default", "inherit", "initial", "inside", "none", or "outside"; otherwise the @counter-style is invalid and must be ignored. - <div class=issue> - <p>Hakon suggests adding a shorthand version of @counter-style that just - takes a name and a set of glyphs, and automatically treats them as a - symbolic style (similar to the defaults for symbols()). In other words, - saying something like this:</p> - - <pre>@counter-style footnotes "*" "+" "-";</pre> - - <p>would be identical to this:</p> - - <pre> -@counter-style footnotes { - type: symbolic; - glyphs: "*" "+" "-"; -}</pre> - - <p>I'm not sure if this is necessary, but I'm not against it either. I'd - probably also allow an "as <type>" tacked on at the end, so it's - basically just the contents of the symbols() function. Hell, maybe even - just use the symbols() function directly, like:</p> - - <pre>@counter-style footnotes symbols("*" "+" "-" as repeating);</pre> - </div> - <h3 id=counter-style-type><span class=secno>8.1. </span> Counter algorithms: the ‘<a href="#descdef-type"><code class=property>type</code></a>’ descriptor</h3> @@ -1508,7 +1481,7 @@ <tr> <th>Initial: - <td>N/A + <td>symbolic </table> <p>The ‘<a href="#descdef-type"><code Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/css3-lists/Overview.src.html,v retrieving revision 1.132 retrieving revision 1.133 diff -u -d -r1.132 -r1.133 --- Overview.src.html 15 Nov 2011 00:43:29 -0000 1.132 +++ Overview.src.html 17 Nov 2011 22:35:53 -0000 1.133 @@ -880,32 +880,7 @@ multiple times in a given @counter-style rule, only the last specified value is used; all prior values for that descriptor must be ignored.</p> - <p>This at-rule conforms with the forward-compatible parsing requirement of CSS; - parsers may ignore these rules without error. Any descriptors that are not - recognized or implemented by a given user agent must be ignored. @counter-style - rules require a 'type' descriptor; if this is missing the @counter-style is - invalid and must be ignored. The <i><counter-style-name></i> must be be - a valid identifier and must not be "decimal", "default", "inherit", "initial", - "inside", "none", or "outside"; otherwise the @counter-style is invalid and - must be ignored.</p> - - <div class='issue'> - <p>Hakon suggests adding a shorthand version of @counter-style that just takes a name and a set of glyphs, and automatically treats them as a symbolic style (similar to the defaults for symbols()). In other words, saying something like this:</p> - - <pre>@counter-style footnotes "*" "+" "-";</pre> - - <p>would be identical to this:</p> - - <pre> -@counter-style footnotes { - type: symbolic; - glyphs: "*" "+" "-"; -}</pre> - - <p>I'm not sure if this is necessary, but I'm not against it either. I'd probably also allow an "as <type>" tacked on at the end, so it's basically just the contents of the symbols() function. Hell, maybe even just use the symbols() function directly, like:</p> - - <pre>@counter-style footnotes symbols("*" "+" "-" as repeating);</pre> - </div> + <p>This at-rule conforms with the forward-compatible parsing requirement of CSS; parsers may ignore these rules without error. Any descriptors that are not recognized or implemented by a given user agent must be ignored. The <i><counter-style-name></i> must be be a valid identifier and must not be "decimal", "default", "inherit", "initial", "inside", "none", or "outside"; otherwise the @counter-style is invalid and must be ignored.</p> <h3 id='counter-style-type'> Counter algorithms: the 'type' descriptor</h3> @@ -919,7 +894,7 @@ <td>repeating | numeric | alphabetic | symbolic | additive | <span class=nobr>[non-repeating <integer>?]</span> | <span class=nobr>[ override <counter-style-name> ]</span> <tr> <th>Initial: - <td>N/A + <td>symbolic </table> <p>The 'type' descriptor specifies which algorithm will be used to construct
Received on Thursday, 17 November 2011 22:36:01 UTC