csswg/css3-lists Overview.html,1.33,1.34 Overview.src.html,1.74,1.75

Update of /sources/public/csswg/css3-lists
In directory hutz:/tmp/cvs-serv2713

Modified Files:
	Overview.html Overview.src.html 
Log Message:
Added example about using alphabetic lists as a hack for fixed-width numeric lists.


Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/css3-lists/Overview.html,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- Overview.html	23 Apr 2011 01:20:00 -0000	1.33
+++ Overview.html	26 Apr 2011 01:04:47 -0000	1.34
@@ -24,12 +24,12 @@
 
    <h1>CSS Lists and Counters Module Level 3</h1>
 
-   <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 23 April 2011</h2>
+   <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 26 April 2011</h2>
 
    <dl>
     <dt>This version:
 
-    <dd><!-- <a href="http://www.w3.org/TR/2011/WD-css3-lists-20110423">http://www.w3.org/TR/2011/WD-css3-lists-20110423</a></dd> -->
+    <dd><!-- <a href="http://www.w3.org/TR/2011/WD-css3-lists-20110426">http://www.w3.org/TR/2011/WD-css3-lists-20110426</a></dd> -->
      <a
      href="http://dev.w3.org/csswg/css3-lists/">http://dev.w3.org/csswg/css3-lists/</a>
 
@@ -686,13 +686,14 @@
    <li>Concatenate the groups into one string.
   </ol>
 
-  <p>This system is defined for all numbers greater than zero. For zero and
-   negative numbers, instead construct the representation of the counter
-   value using the &lsquo;<code class=css>decimal</code>&rsquo; style.
+  <p>For this system, the <a href="#lower-range-bound"><i
+   title=counter-lower-bound>lower range bound descriptor</i></a> is 1, the
+   <a href="#upper"><i title=counter-upper-bound>upper range bound
+   descriptor</i></a> is infinity, and the rest of the descriptors have their
+   initial value.
 
-  <p>The suffix for the ethiopic-numeric numbering systems is a dot (. U+002E
-   FULL STOP). <span class=issue>Is there a better suffix to use? <strong>The
-   alphabetic ethiopic systems use a different suffix.</strong></span>
+  <p class=issue>Is there a better suffix to use than the initial (".")? The
+   alphabetic ethiopic systems use a different suffix.
 
   <div class=example>
    <p>The decimal number 100, in ethiopic, is ፻ U+137B <!-- odd --></p>
@@ -829,12 +830,14 @@
     counter value.
   </ol>
 
-  <p>For all of these counter styles, the suffix is "、" U+3001, the prefix
-   is the empty string, the fallback style is &lsquo;<code
-   class=css>cjk-decimal</code>&rsquo;, and the upper range bound is 9999
-   9999 9999 9999 (one less than 10<sup>16</sup>). For the Chinese and
-   Japanese styles, the lower range bound is -9999 9999 9999 9999 (one more
-   than -10<sup>16</sup>); for the Korean styles the lower range bound is 0.
+  <p>For all of these counter styles, the <a href="#suffix"><i
+   title=counter-suffix>suffix descriptor</i></a> is "、" U+3001 and the <a
+   href="#fallback-style"><i title=counter-fallback>fallback
+   descriptor</i></a> is &lsquo;<code class=css>cjk-decimal</code>&rsquo;.
+   For Chinese and Japanese, the <i title=counter-lower-range>lower range
+   bound descriptor</i> is -9999 9999 9999 9999 (-10<sup>16</sup>+1), while
+   for Korean it's 0. For all of them, the <i title=counter-upper-range>upper
+   range bound descriptor</i> is 9999 9999 9999 9999 (10<sup>16</sup>-1).
 
   <p>The following tables define the characters used in these styles:
 
@@ -2571,6 +2574,41 @@
     correctly.</p>
   </div>
 
+  <div class=example>
+   <p>Alphabetic styles may also be used to simulate a fixed-width numeric
+    style:</p>
+
+   <pre>
+@counter-style fixed-decimal {
+	type: alphabetic;
+	glyphs: '0' '1' '2' '3' '4' '5' '6' '7' '8' '9';
+}
+
+ol { 
+	list-style: fixed-decimal;
+	counter-reset: list-item: 1111; 
+}
+		</pre>
+
+   <p>This will produce lists that look like:</p>
+
+   <pre>
+0001.  One
+0002.  Two
+0003.  Three
+0004.  Four
+0005.  Five
+0006.  Six
+		</pre>
+
+   <p>Two-digit numbers start at value 11, three-digit numbers start at value
+    111, etc..</p>
+
+   <p class=issue>Should I instead explicitly provide a fixed-width numeric
+    counter type? I'd like to see if this sort of numbering is used in the
+    wild first.</p>
+  </div>
+
   <h4 id=symbolic><span class=secno>10.1.4. </span> symbolic</h4>
 
   <p>If the type is &lsquo;<code class=css>symbolic</code>&rsquo;, the

Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-lists/Overview.src.html,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -d -r1.74 -r1.75
--- Overview.src.html	25 Apr 2011 23:15:10 -0000	1.74
+++ Overview.src.html	26 Apr 2011 01:04:47 -0000	1.75
@@ -1826,6 +1826,41 @@
 		correctly.</p>
 	</div>
 
+	<div class='example'>
+		<p>Alphabetic styles may also be used to simulate a fixed-width numeric
+		style:</p>
+
+		<pre>
+@counter-style fixed-decimal {
+	type: alphabetic;
+	glyphs: '0' '1' '2' '3' '4' '5' '6' '7' '8' '9';
+}
+
+ol { 
+	list-style: fixed-decimal;
+	counter-reset: list-item: 1111; 
+}
+		</pre>
+
+		<p>This will produce lists that look like:</p>
+
+		<pre>
+0001.  One
+0002.  Two
+0003.  Three
+0004.  Four
+0005.  Five
+0006.  Six
+		</pre>
+
+		<p>Two-digit numbers start at value 11, three-digit numbers start at 
+		value 111, etc..</p>
+
+		<p class='issue'>Should I instead explicitly provide a fixed-width numeric
+		counter type?  I'd like to see if this sort of numbering is used in the
+		wild first.</p>
+	</div>
+
 
 <h4>
 symbolic</h4>

Received on Tuesday, 26 April 2011 01:04:51 UTC