W3C home > Mailing lists > Public > public-css-commits@w3.org > November 2011

csswg/css3-lists Overview.html,1.86,1.87 Overview.src.html,1.133,1.134

From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 17 Nov 2011 22:42:01 +0000
To: public-css-commits@w3.org
Message-Id: <E1RRAef-00055Y-Cu@lionel-hutz.w3.org>
Update of /sources/public/csswg/css3-lists
In directory hutz:/tmp/cvs-serv19545

Modified Files:
	Overview.html Overview.src.html 
Log Message:
The note in the symbolic example made no sense, so I made a second example just for it.

Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/css3-lists/Overview.html,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -d -r1.86 -r1.87
--- Overview.html	17 Nov 2011 22:35:53 -0000	1.86
+++ Overview.html	17 Nov 2011 22:41:59 -0000	1.87
@@ -1762,13 +1762,30 @@
 **.  Five
 ⁑⁑.  Six
 		</pre>
+  </div>
 
-   <p class=note>Note the difference between this and the alphabetic
-    <i>&lsquo;<a href="#upper-alpha"><code
-    class=property>upper-alpha</code></a>&rsquo;</i> style. The alphabetic
-    style is identical through 27, but then continues with "AB, AC, AD...",
-    and then at 53 begins "BA, BB, BC...", etc. It doesn't reach three digits
-    until 703.</p>
+  <div class=example>
+   <p>Some style guides mandate a list numbering that looks similar to
+    &lsquo;<a href="#upper-alpha"><code
+    class=css>upper-alpha</code></a>&rsquo;, but repeats differently after
+    the first 26 values, instead going "AA", "BB", "CC", etc. This can be
+    achieved with the symbolic type:</p>
+
+   <pre>
+@counter-style <dfn id=upper-alpha-legal>upper-alpha-legal</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';
+}</pre>
+
+   <p>This style is identical to &lsquo;<a href="#upper-alpha"><code
+    class=css>upper-alpha</code></a>&rsquo; through the first 27 values, but
+    they diverge after that, with &lsquo;<a href="#upper-alpha"><code
+    class=css>upper-alpha</code></a>&rsquo; going "AB", "AC", "AD", etc.
+    Starting at the 53rd value, &lsquo;<a href="#upper-alpha"><code
+    class=css>upper-alpha</code></a>&rsquo; goes "BA", "BB", "BC", etc.,
+    while this style jumps up to the triple digits with "AAA", "BBB", "CCC",
+    etc.</p>
   </div>
 
   <p>The <i>symbolic</i> type will produce representations with sizes that
@@ -5239,6 +5256,9 @@
    <li>upper-alpha, <a href="#upper-alpha"
     title=upper-alpha><strong>10.3.</strong></a>
 
+   <li>upper-alpha-legal, <a href="#upper-alpha-legal"
+    title=upper-alpha-legal><strong>8.1.4.</strong></a>
+
    <li>upper-alpha-symbolic, <a href="#upper-alpha-symbolic"
     title=upper-alpha-symbolic><strong>10.4.</strong></a>
 

Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-lists/Overview.src.html,v
retrieving revision 1.133
retrieving revision 1.134
diff -u -d -r1.133 -r1.134
--- Overview.src.html	17 Nov 2011 22:35:53 -0000	1.133
+++ Overview.src.html	17 Nov 2011 22:41:59 -0000	1.134
@@ -1158,11 +1158,19 @@
 **.  Five
 ⁑⁑.  Six
 		</pre>
+	</div>
 
-		<p class='note'>Note the difference between this and the alphabetic 
-		<i>'upper-alpha'</i> style.  The alphabetic style is identical through
-		27, but then continues with "AB, AC, AD...", and then at 53 begins
-		"BA, BB, BC...", etc.  It doesn't reach three digits until 703.</p>
+	<div class=example>
+		<p>Some style guides mandate a list numbering that looks similar to ''upper-alpha'', but repeats differently after the first 26 values, instead going "AA", "BB", "CC", etc.  This can be achieved with the symbolic type:</p>
+
+		<pre>
+@counter-style <dfn>upper-alpha-legal</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';
+}</pre>
+
+		<p>This style is identical to ''upper-alpha'' through the first 27 values, but they diverge after that, with ''upper-alpha'' going "AB", "AC", "AD", etc.  Starting at the 53rd value, ''upper-alpha'' goes "BA", "BB", "BC", etc., while this style jumps up to the triple digits with "AAA", "BBB", "CCC", etc.</p>
 	</div>
 
 	<p>The <i>symbolic</i> type will produce representations with sizes that are 
Received on Thursday, 17 November 2011 22:42:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 17 November 2011 22:42:05 GMT