csswg/css3-lists Overview.html,1.119,1.120 Overview.src.html,1.166,1.167

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

Modified Files:
	Overview.html Overview.src.html 
Log Message:
Call out 'decimal' as being defined specially, since it would be a syntax error to simply define it in the UA stylesheet.

Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/css3-lists/Overview.html,v
retrieving revision 1.119
retrieving revision 1.120
diff -u -d -r1.119 -r1.120
--- Overview.html	5 Dec 2011 23:25:42 -0000	1.119
+++ Overview.html	5 Dec 2011 23:34:00 -0000	1.120
@@ -2369,12 +2369,6 @@
 
   <pre style="white-space: pre-wrap;"><bdo>
 @counter-style <dfn
-   id=decimal>decimal</dfn> {
-	type: numeric;
-	symbols: '0' '1' '2' '3' '4' '5' '6' '7' '8' '9';
-}
-
-@counter-style <dfn
    id=decimal-leading-zero>decimal-leading-zero</dfn> {
 	type: non-repeating -9;
 	symbols: '-09' '-08' '-07' '-06' '-05' '-04' '-03' '-02' '-01' '00' '01' '02' '03' '04' '05' '06' '07' '08' '09';
@@ -2492,6 +2486,24 @@
    <dd>A filled square, similar to ◾ U+25FE BLACK MEDIUM SMALL SQUARE.
   </dl>
 
+  <p>Finally, UAs must define a &lsquo;<a href="#decimal"><code
+   class=property>decimal</code></a>&rsquo; style with behavior matching the
+   following stylesheet fragment, as if it were defined by a &lsquo;<code
+   class=css>@counter-style</code>&rsquo; rule in the UA stylesheet. <span
+   class=note>This style is defined specially because naming a counter style
+   &lsquo;<a href="#decimal"><code class=css>decimal</code></a>&rsquo; is a
+   syntax error, so it can't actually be defined just by including it in the
+   UA stylesheet. This restriction exists so that &lsquo;<a
+   href="#decimal"><code class=css>decimal</code></a>&rsquo; is always
+   present as a valid fallback type, regardless of what an author or user
+   defines in their own stylesheets.</span>
+
+  <pre>
+@counter-style <dfn id=decimal>decimal</dfn> {
+	type: numeric;
+	symbols: '0' '1' '2' '3' '4' '5' '6' '7' '8' '9';
+}</pre>
+
   <p class=issue>Do we need to predefine the styles that are present in CSS2
    but didn't make it to CSS2.1? They're all present in the "Additional
    Predefined Counter Styles" document.

Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-lists/Overview.src.html,v
retrieving revision 1.166
retrieving revision 1.167
diff -u -d -r1.166 -r1.167
--- Overview.src.html	5 Dec 2011 23:25:42 -0000	1.166
+++ Overview.src.html	5 Dec 2011 23:34:00 -0000	1.167
@@ -1598,11 +1598,6 @@
 	<p>In addition to the 2.1 counter styles, a large number of additional counter styles are defined in the <a href="//dev.w3.org/csswg/css-counter-styles">Additional Predefined Counter Styles for CSS</a> document.  The majority of the additional counter styles are additional alphabetic or numeric styles for various world languages.  <span class='note'>The normative status of that document is currently undecided, but at minimum it provides a large resource of counter styles which can be copied into an author's stylesheet.</span></p>
 
 	<pre style="white-space: pre-wrap;"><bdo>
-@counter-style <dfn>decimal</dfn> {
-	type: numeric;
-	symbols: '0' '1' '2' '3' '4' '5' '6' '7' '8' '9';
-}
-
 @counter-style <dfn>decimal-leading-zero</dfn> {
 	type: non-repeating -9;
 	symbols: '-09' '-08' '-07' '-06' '-05' '-04' '-03' '-02' '-01' '00' '01' '02' '03' '04' '05' '06' '07' '08' '09';
@@ -1695,6 +1690,14 @@
 		<dd>A filled square, similar to ◾ U+25FE BLACK MEDIUM SMALL SQUARE.</dd>
 	</dl>
 
+	<p>Finally, UAs must define a 'decimal' style with behavior matching the following stylesheet fragment, as if it were defined by a ''@counter-style'' rule in the UA stylesheet.  <span class='note'>This style is defined specially because naming a counter style ''decimal'' is a syntax error, so it can't actually be defined just by including it in the UA stylesheet.  This restriction exists so that ''decimal'' is always present as a valid fallback type, regardless of what an author or user defines in their own stylesheets.</span></p>
+
+	<pre>
+@counter-style <dfn>decimal</dfn> {
+	type: numeric;
+	symbols: '0' '1' '2' '3' '4' '5' '6' '7' '8' '9';
+}</pre>
+
 	<p class='issue'>Do we need to predefine the styles that are present in CSS2 but didn't make it to CSS2.1?  They're all present in the "Additional Predefined Counter Styles" document.</p>
 
 

Received on Monday, 5 December 2011 23:34:11 UTC