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

csswg/css3-lists Overview.html,1.88,1.89 Overview.src.html,1.135,1.136

From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 18 Nov 2011 00:45:00 +0000
To: public-css-commits@w3.org
Message-Id: <E1RRCZg-0001L1-MZ@lionel-hutz.w3.org>
Update of /sources/public/csswg/css3-lists
In directory hutz:/tmp/cvs-serv5129

Modified Files:
	Overview.html Overview.src.html 
Log Message:
Defined the <counter-style> type properly, so both named and anonymous styles are part of it.

Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/css3-lists/Overview.html,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -d -r1.88 -r1.89
--- Overview.html	18 Nov 2011 00:38:53 -0000	1.88
+++ Overview.html	18 Nov 2011 00:44:58 -0000	1.89
@@ -575,14 +575,7 @@
    <dd>The <code class=css>::marker</code> pseudo-element must use the
     provided string as its default contents.
 
-   <dt>&lt;symbols-function>
-
-   <dd>The <code class=css>::marker</code> pseudo-element's default contents
-    must be the value of the &lsquo;<code class=css>list-item</code>&rsquo;
-    counter, formatted according to the anonymous counter style defined by
-    the provided &lsquo;<code class=css>symbols()</code>&rsquo; function.
-
-   <dt>&lt;counter-style>
+   <dt><a href="#ltcounter-style"><i>&lt;counter-style></i></a>
 
    <dd>
     <p>The <code class=css>::marker</code> pseudo-element's default contents
@@ -1463,6 +1456,14 @@
    not be "decimal", "default", "inherit", "initial", "inside", "none", or
    "outside"; otherwise the @counter-style is invalid and must be ignored.
 
+  <p>The <i>&lt;counter-style> type is defined as:</i>
+
+  <pre><dfn
+   id=ltcounter-style>&lt;counter-style></dfn> = IDENT | &lt;symbols-function></pre>
+
+  <p>where the IDENT must be the name of a valid custom counter style defined
+   with the &lsquo;<code class=css>@counter-style</code>&rsquo; rule.
+
   <h3 id=counter-style-type><span class=secno>8.1. </span> Counter
    algorithms: the &lsquo;<a href="#descdef-type"><code
    class=property>type</code></a>&rsquo; descriptor</h3>
@@ -4906,6 +4907,9 @@
    <li>counter-prefix, <a href="#prefix"
     title=counter-prefix><strong>8.</strong></a>
 
+   <li>&lt;counter-style>, <a href="#ltcounter-style"
+    title="&lt;counter-style>"><strong>8.</strong></a>
+
    <li>counter style, <a href="#counter-style0"
     title="counter style"><strong>8.</strong></a>
 

Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-lists/Overview.src.html,v
retrieving revision 1.135
retrieving revision 1.136
diff -u -d -r1.135 -r1.136
--- Overview.src.html	18 Nov 2011 00:38:53 -0000	1.135
+++ Overview.src.html	18 Nov 2011 00:44:58 -0000	1.136
@@ -267,10 +267,7 @@
 		<dt>&lt;string></dt>
 		<dd>The <code class=css>::marker</code> pseudo-element must use the provided string as its default contents.</dd>
 
-		<dt>&lt;symbols-function></dt>
-		<dd>The <code class=css>::marker</code> pseudo-element's default contents must be the value of the ''list-item'' counter, formatted according to the anonymous counter style defined by the provided ''symbols()'' function.</dd>
-
-		<dt>&lt;counter-style></dt>
+		<dt><i>&lt;counter-style></i></dt>
 		<dd>
 			<p>The <code class=css>::marker</code> pseudo-element's default contents must be the value of 
 			the ''list-item'' counter, formatted according to the given counter style.  
@@ -882,6 +879,12 @@
 
 	<p>This at-rule conforms with the forward-compatible parsing requirement of CSS; parsers may ignore these rules without error. Any descriptors that are not recognized or implemented by a given user agent must be ignored.  The <i>&lt;counter-style-name></i> must be be a valid identifier and must not be "decimal", "default", "inherit", "initial", "inside", "none", or "outside"; otherwise the @counter-style is invalid and must be ignored.</p>
 
+	<p>The <i>&lt;counter-style> type is defined as:</p>
+
+	<pre><dfn>&lt;counter-style></dfn> = IDENT | &lt;symbols-function></pre>
+
+	<p>where the IDENT must be the name of a valid custom counter style defined with the ''@counter-style'' rule.</p>
+
 <h3 id='counter-style-type'>
 Counter algorithms: the 'type' descriptor</h3>
 
Received on Friday, 18 November 2011 00:45:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 18 November 2011 00:45:02 GMT