- From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 23 May 2011 23:06:08 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-images
In directory hutz:/tmp/cvs-serv14263
Modified Files:
Overview.html Overview.src.html
Log Message:
Updated the serialization section.
Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/css3-images/Overview.html,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -d -r1.100 -r1.101
--- Overview.html 23 May 2011 22:14:03 -0000 1.100
+++ Overview.html 23 May 2011 23:06:05 -0000 1.101
@@ -1995,10 +1995,9 @@
<ol>
<li>Append "image(" to s.
- <li>For each argument, serialize the argument as an <image-decl>,
- <color>, <element-reference>, or <gradient> as appropriate, and
- append it to s. Then, if it is not the final argument, append a comma and
- a space ", " to s.
+ <li>For each argument, serialize the argument as an <image-decl> or
+ <color> as appropriate, and append it to s. Then, if it is not the
+ final argument, append a comma and a space ", " to s.
<li>Append a close parenthesis ")" to s.
</ol>
@@ -2006,14 +2005,16 @@
<p>To serialize an <a href="#ltimage-decl"><i><image-decl></i></a>:
<ol>
- <li>Serialize the first part of the value (the <string> or
- <url-token>) as a string.
+ <li>Serialize the first part of the value (the <string>) as a string.
<li>If a <resolution> was provided, append a space " " to s. Then
serialize the <resolution> and append it to s.
<li>If the ‘<code class=property>snap</code>’ keyword was
provided, append a space " " and the literal string "snap" to s.
+
+ <li>If a directional keyword was provided, append a space " " to s, then
+ append the keyword to s.
</ol>
<!-- ====================================================================== -->
@@ -2194,7 +2195,7 @@
<li>If both the ‘<code class=css>from-image</code>’ keyword
and a <resolution> are specified, append a space " " to s.
- <li>If a <resolution is specified, serialize it and append it to s.
+ <li>If a <resolution> is specified, serialize it and append it to s.
</ol>
<p>To serialize the ‘<a href="#image-orientation0"><code
Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-images/Overview.src.html,v
retrieving revision 1.104
retrieving revision 1.105
diff -u -d -r1.104 -r1.105
--- Overview.src.html 23 May 2011 22:14:03 -0000 1.104
+++ Overview.src.html 23 May 2011 23:06:06 -0000 1.105
@@ -1525,10 +1525,9 @@
<ol>
<li>Append "image(" to s.</li>
- <li>For each argument, serialize the argument as an <image-decl>,
- <color>, <element-reference>, or <gradient> as appropriate, and
- append it to s. Then, if it is not the final argument, append a comma
- and a space ", " to s.</li>
+ <li>For each argument, serialize the argument as an <image-decl> or
+ <color> as appropriate, and append it to s. Then, if it is not the final
+ argument, append a comma and a space ", " to s.</li>
<li>Append a close parenthesis ")" to s.</li>
</ol>
@@ -1536,12 +1535,16 @@
<p>To serialize an <i><image-decl></i>:</p>
<ol>
- <li>Serialize the first part of the value (the <string> or <url-token>)
- as a string.</li>
+ <li>Serialize the first part of the value (the <string>) as a string.</li>
+
<li>If a <resolution> was provided, append a space " " to s. Then
serialize the <resolution> and append it to s.</li>
+
<li>If the 'snap' keyword was provided, append a space " " and the literal
string "snap" to s.</li>
+
+ <li>If a directional keyword was provided, append a space " " to s, then
+ append the keyword to s.</li>
</ol>
<!-- ====================================================================== -->
@@ -1718,7 +1721,7 @@
<li>If both the ''from-image'' keyword and a <resolution> are specified,
append a space " " to s.</li>
- <li>If a <resolution is specified, serialize it and append it to s.</li>
+ <li>If a <resolution> is specified, serialize it and append it to s.</li>
</ol>
<p>To serialize the 'image-orientation' property:</p>
Received on Monday, 23 May 2011 23:06:09 UTC