- From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 20 Jun 2011 21:10:18 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-lists In directory hutz:/tmp/cvs-serv30406 Modified Files: Overview.html Overview.src.html Log Message: Tweaked wording and examples for the 'symbolic' type. Index: Overview.html =================================================================== RCS file: /sources/public/csswg/css3-lists/Overview.html,v retrieving revision 1.63 retrieving revision 1.64 diff -u -d -r1.63 -r1.64 --- Overview.html 14 Jun 2011 22:37:55 -0000 1.63 +++ Overview.html 20 Jun 2011 21:10:15 -0000 1.64 @@ -25,14 +25,25 @@ <h1>CSS Lists and Counters Module Level 3</h1> +<<<<<<< Overview.html + <h2 class="no-num no-toc" id=longstatus-date>W3C Working Draft 20 June + 2011</h2> +======= <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 14 June 2011</h2> +>>>>>>> 1.63 <dl> <dt>This version: +<<<<<<< Overview.html + <dd><a + href="http://www.w3.org/TR/2011/WD-css3-lists-20110620">http://www.w3.org/TR/2011/WD-css3-lists-20110620</a></dd> + <!-- <a href="http://dev.w3.org/csswg/css3-lists/">http://dev.w3.org/csswg/css3-lists/</a></dd>--> +======= <dd><!--<a href="http://www.w3.org/TR/2011/WD-css3-lists-20110614">http://www.w3.org/TR/2011/WD-css3-lists-20110614</a></dd>--> <a href="http://dev.w3.org/csswg/css3-lists/">http://dev.w3.org/csswg/css3-lists/</a> +>>>>>>> 1.63 <dt>Latest version: @@ -1599,10 +1610,13 @@ <p>The ‘<code class=css>symbolic</code>’ counter type cycles repeatedly through its provided glyphs, doubling, tripling, etc. the - glyphs on each successive pass through the list. It can be used for - footnote-style markers, and is also sometimes used for alphabetic-style - lists for a slightly different presentation than what the ‘<code - class=css>alphabetic</code>’ type presents. + glyphs on each successive pass through the list. For example, if the + original glyphs were "*" and "†", then on the second pass they would + instead be "**" and "††", while on the third they would be "***" and + "†††", etc. It can be used for footnote-style markers, and is also + sometimes used for alphabetic-style lists for a slightly different + presentation than what the ‘<code class=css>alphabetic</code>’ + type presents. <p>To construct the representation, run the following algorithm. Let <var>length</var> be the length of the list of <a @@ -1626,18 +1640,35 @@ <p>Finally, return <var>S</var>. <div class=example> - <p>An "unary" counter style can be defined as:</p> + <p>An "footnotes" counter style can be defined as:</p> <pre> +<<<<<<< Overview.html +@counter-style <dfn id=footnotes>footnotes</dfn> { +======= @counter-style <dfn id=upper-alpha-symbolic>upper-alpha-symbolic</dfn> { +>>>>>>> 1.63 type: symbolic; +<<<<<<< Overview.html + glyphs: '*' '⁑' '†' '‡'; + suffix: ''; +======= glyphs: 'A' 'B' 'C' 'D' 'E' 'F' 'G' 'H' 'I' 'J' 'K' 'L' 'M' 'N' 'O' 'P' 'Q' 'R' 'S' 'T' 'U' 'V' 'W' 'X' 'Y' 'Z'; +>>>>>>> 1.63 } </pre> <p>It will then produce lists that look like:</p> <pre> +<<<<<<< Overview.html +*. One +⁑. Two +†. Three +‡. Four +**. Five +⁑⁑. Six +======= A. One B. Two ... @@ -1648,6 +1679,7 @@ ZZ. Fifty-two AAA. Fifty-three BBB. Fifty-four +>>>>>>> 1.63 </pre> <p class=note>Note the difference between this and the alphabetic @@ -2753,6 +2785,8 @@ suffix: ''; } +<<<<<<< Overview.html +======= @counter-style <dfn id=footnote>footnote</dfn> { type: symbolic; glyphs: '\2A' '\2051' '\2020' '\2021'; @@ -2760,6 +2794,7 @@ suffix: ''; } +>>>>>>> 1.63 @counter-style <dfn id=lower-alpha-symbolic>lower-alpha-symbolic</dfn> { type: symbolic; glyphs: '\61' '\62' '\63' '\64' '\65' '\66' '\67' '\68' '\69' '\6A' '\6B' '\6C' '\6D' '\6E' '\6F' '\70' '\71' '\72' '\73' '\74' '\75' '\76' '\77' '\78' '\79' '\7A'; @@ -4623,8 +4658,13 @@ <li>fixed-decimal, <a href="#fixed-decimal" title=fixed-decimal><strong>8.1.3.</strong></a> +<<<<<<< Overview.html + <li>footnotes, <a href="#footnotes" + title=footnotes><strong>8.1.4.</strong></a> +======= <li>footnote, <a href="#footnote" title=footnote><strong>9.4.</strong></a> +>>>>>>> 1.63 <li>fullwidth-decimal, <a href="#fullwidth-decimal" title=fullwidth-decimal><strong>9.2.</strong></a> Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/css3-lists/Overview.src.html,v retrieving revision 1.112 retrieving revision 1.113 diff -u -d -r1.112 -r1.113 --- Overview.src.html 14 Jun 2011 22:37:55 -0000 1.112 +++ Overview.src.html 20 Jun 2011 21:10:16 -0000 1.113 @@ -1126,6 +1126,9 @@ <p>The ''symbolic'' counter type cycles repeatedly through its provided glyphs, doubling, tripling, etc. the glyphs on each successive pass through the list. + For example, if the original glyphs were "*" and "†", then on the second pass + they would instead be "**" and "††", while on the third they would be "***" + and "†††", etc. It can be used for footnote-style markers, and is also sometimes used for alphabetic-style lists for a slightly different presentation than what the ''alphabetic'' type presents.</p> @@ -1147,28 +1150,25 @@ <p>Finally, return <var>S</var>.</p> <div class=example> - <p>An "unary" counter style can be defined as:</p> + <p>An "footnotes" counter style can be defined as:</p> <pre> -@counter-style <dfn>upper-alpha-symbolic</dfn> { +@counter-style <dfn>footnotes</dfn> { type: symbolic; - glyphs: 'A' 'B' 'C' 'D' 'E' 'F' 'G' 'H' 'I' 'J' 'K' 'L' 'M' 'N' 'O' 'P' 'Q' 'R' 'S' 'T' 'U' 'V' 'W' 'X' 'Y' 'Z'; + glyphs: '*' '⁑' '†' '‡'; + suffix: ''; } </pre> <p>It will then produce lists that look like:</p> <pre> -A. One -B. Two -... -Z. Twenty-six -AA. Twenty-seven -BB. Twenty-eight -... -ZZ. Fifty-two -AAA. Fifty-three -BBB. Fifty-four +*. One +⁑. Two +†. Three +‡. Four +**. Five +⁑⁑. Six </pre> <p class='note'>Note the difference between this and the alphabetic @@ -2176,13 +2176,6 @@ suffix: ''; } -@counter-style <dfn>footnote</dfn> { - type: symbolic; - glyphs: '\2A' '\2051' '\2020' '\2021'; - /* '*' '⁑' '†' '‡' */ - suffix: ''; -} - @counter-style <dfn>lower-alpha-symbolic</dfn> { type: symbolic; glyphs: '\61' '\62' '\63' '\64' '\65' '\66' '\67' '\68' '\69' '\6A' '\6B' '\6C' '\6D' '\6E' '\6F' '\70' '\71' '\72' '\73' '\74' '\75' '\76' '\77' '\78' '\79' '\7A';
Received on Monday, 20 June 2011 21:10:20 UTC