- 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
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><symbols-function>
-
- <dd>The <code class=css>::marker</code> pseudo-element's default contents
- must be the value of the ‘<code class=css>list-item</code>’
- counter, formatted according to the anonymous counter style defined by
- the provided ‘<code class=css>symbols()</code>’ function.
-
- <dt><counter-style>
+ <dt><a href="#ltcounter-style"><i><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><counter-style> type is defined as:</i>
+
+ <pre><dfn
+ id=ltcounter-style><counter-style></dfn> = IDENT | <symbols-function></pre>
+
+ <p>where the IDENT must be the name of a valid custom counter style defined
+ with the ‘<code class=css>@counter-style</code>’ rule.
+
<h3 id=counter-style-type><span class=secno>8.1. </span> Counter
algorithms: the ‘<a href="#descdef-type"><code
class=property>type</code></a>’ descriptor</h3>
@@ -4906,6 +4907,9 @@
<li>counter-prefix, <a href="#prefix"
title=counter-prefix><strong>8.</strong></a>
+ <li><counter-style>, <a href="#ltcounter-style"
+ title="<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><string></dt>
<dd>The <code class=css>::marker</code> pseudo-element must use the provided string as its default contents.</dd>
- <dt><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><counter-style></dt>
+ <dt><i><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><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><counter-style> type is defined as:</p>
+
+ <pre><dfn><counter-style></dfn> = IDENT | <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 UTC