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

csswg/css3-lists Overview.html,1.89,1.90 Overview.src.html,1.136,1.137

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

Modified Files:
	Overview.html Overview.src.html 
Log Message:
Rewrote the ::marker 'content' generation to properly use <image>, <string>, and <counter-style> types.

Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/css3-lists/Overview.html,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -d -r1.89 -r1.90
--- Overview.html	18 Nov 2011 00:44:58 -0000	1.89
+++ Overview.html	18 Nov 2011 00:47:21 -0000	1.90
@@ -1047,29 +1047,26 @@
 
   <ol>
    <li>If the computed value of &lsquo;<a href="#list-style-image"><code
-    class=property>list-style-image</code></a>&rsquo; is a valid image, then
-    the computed value of the &lsquo;<code
+    class=property>list-style-image</code></a>&rsquo; is a valid &lt;image>,
+    then the computed value of the &lsquo;<code
     class=property>content</code>&rsquo; property is that image.
 
    <li>Otherwise, if the computed value of &lsquo;<a
     href="#list-style-type"><code
-    class=property>list-style-type</code></a>&rsquo; is a string, then the
-    computed value of the &lsquo;<code class=property>content</code>&rsquo;
-    property is that string.
+    class=property>list-style-type</code></a>&rsquo; is a &lt;string>, then
+    the computed value of the &lsquo;<code
+    class=property>content</code>&rsquo; property is that string.
 
    <li>Otherwise, if the computed value of &lsquo;<a
     href="#list-style-type"><code
-    class=property>list-style-type</code></a>&rsquo; is the name of a counter
-    style, then the computed value of the &lsquo;<code
-    class=property>content</code>&rsquo; property is
-    <code>&lt;counter-prefix> counter(list-item, &lt;counter-name>)
-    &lt;counter-suffix></code>, where <i>&lt;counter-name></i> is the
-    computed value of the &lsquo;<a href="#list-style-type"><code
-    class=property>list-style-type</code></a>&rsquo; property and
-    <i>&lt;counter-prefix></i> and <i>&lt;counter-suffix></i> are the values
-    of the <a href="#prefix"><i title=counter-prefix>prefix</i></a> and <a
-    href="#suffix"><i title=counter-suffix>suffix</i></a> descriptors for the
-    counter style with that name.
+    class=property>list-style-type</code></a>&rsquo; is a valid <a
+    href="#ltcounter-style"><i>&lt;counter-style></i></a>, then the computed
+    value of the &lsquo;<code class=property>content</code>&rsquo; property
+    is <code>&lt;counter-prefix> counter(list-item, &lt;counter-style>)
+    &lt;counter-suffix></code>, where <i>&lt;counter-prefix></i> and
+    <i>&lt;counter-suffix></i> are the values of the <a href="#prefix"><i
+    title=counter-prefix>prefix</i></a> and <a href="#suffix"><i
+    title=counter-suffix>suffix</i></a> descriptors for the counter style.
 
    <li>Otherwise the computed value is &lsquo;<a href="#none"><code
     class=css>none</code></a>&rsquo;.

Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-lists/Overview.src.html,v
retrieving revision 1.136
retrieving revision 1.137
diff -u -d -r1.136 -r1.137
--- Overview.src.html	18 Nov 2011 00:44:58 -0000	1.136
+++ Overview.src.html	18 Nov 2011 00:47:47 -0000	1.137
@@ -634,13 +634,13 @@
 	according to the following algorithm:</p>
 
 	<ol>
-		<li>If the computed value of 'list-style-image' is a valid image, then 
+		<li>If the computed value of 'list-style-image' is a valid &lt;image>, then 
 		the computed value of the 'content' property is that image.</li>
 
-		<li>Otherwise, if the computed value of 'list-style-type' is a string, then 
+		<li>Otherwise, if the computed value of 'list-style-type' is a &lt;string>, then 
 		the computed value of the 'content' property is that string.</li>
 
-		<li>Otherwise, if the computed value of 'list-style-type' is the name of a counter style, then the computed value of the 'content' property is <code>&lt;counter-prefix> counter(list-item, &lt;counter-name>) &lt;counter-suffix></code>, where <i>&lt;counter-name></i> is the computed value of the 'list-style-type' property and <i>&lt;counter-prefix></i> and <i>&lt;counter-suffix></i> are the values of the <i title='counter-prefix'>prefix</i> and <i title='counter-suffix'>suffix</i>	descriptors for the counter style with that name.</li>
+		<li>Otherwise, if the computed value of 'list-style-type' is a valid <i>&lt;counter-style></i>, then the computed value of the 'content' property is <code>&lt;counter-prefix> counter(list-item, &lt;counter-style>) &lt;counter-suffix></code>, where <i>&lt;counter-prefix></i> and <i>&lt;counter-suffix></i> are the values of the <i title='counter-prefix'>prefix</i> and <i title='counter-suffix'>suffix</i> descriptors for the counter style.</li>
 
 		<li>Otherwise the computed value is ''none''.</li>
 	</ol>
Received on Friday, 18 November 2011 00:48:04 GMT

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