- From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 15 Nov 2011 00:43:31 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-lists In directory hutz:/tmp/cvs-serv28372 Modified Files: Overview.html Overview.src.html Log Message: Added an issue about Hakon's suggestion for a shorthand version of @counter-style. Index: Overview.html =================================================================== RCS file: /sources/public/csswg/css3-lists/Overview.html,v retrieving revision 1.84 retrieving revision 1.85 diff -u -d -r1.84 -r1.85 --- Overview.html 3 Nov 2011 23:39:14 -0000 1.84 +++ Overview.html 15 Nov 2011 00:43:29 -0000 1.85 @@ -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 3 November + <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 15 November 2011</h2> <dl> <dt>This version: - <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>--> + <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>--> <a href="http://dev.w3.org/csswg/css3-lists/">http://dev.w3.org/csswg/css3-lists/</a> @@ -1463,6 +1463,30 @@ 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> Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/css3-lists/Overview.src.html,v retrieving revision 1.131 retrieving revision 1.132 diff -u -d -r1.131 -r1.132 --- Overview.src.html 3 Nov 2011 23:39:14 -0000 1.131 +++ Overview.src.html 15 Nov 2011 00:43:29 -0000 1.132 @@ -889,6 +889,24 @@ "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> + <h3 id='counter-style-type'> Counter algorithms: the 'type' descriptor</h3>
Received on Tuesday, 15 November 2011 00:43:33 UTC