- From: Elika Etemad via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 08 Nov 2011 23:22:10 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-images
In directory hutz:/tmp/cvs-serv31045
Modified Files:
Overview.html Overview.src.html
Log Message:
Check in some minor changes to radial-gradient() syntax, as agreed with Tab and Brian Manthos
Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/css3-images/Overview.html,v
retrieving revision 1.185
retrieving revision 1.186
diff -u -d -r1.185 -r1.186
--- Overview.html 8 Nov 2011 00:15:00 -0000 1.185
+++ Overview.html 8 Nov 2011 23:22:08 -0000 1.186
@@ -902,7 +902,11 @@
‘<code class=css>farthest-corner</code>’. It can be given
explicitly or by keyword. For the purpose of the keyword definitions,
consider the box edges as extending infinitely in both directions,
- rather than being finite line segments. Possible values are:
+ rather than being finite line segments.
+
+ <p>Both ‘<code class=css>circle</code>’ and ‘<code
+ class=css>ellipse</code>’ gradients accept the following keywords
+ as their <a href="#ltextentgt"><i><extent></i></a>:
<dl>
[...2423 lines suppressed...]
+
+ <li><resolution>, <a href="#ltresolution"
+ title="<resolution>"><strong>3.</strong></a>
+
+ <li><shape>, <a href="#ltshapegt"
+ title="<shape>"><strong>5.2.1.</strong></a>
+
+ <li><side-or-corner>, <a href="#side-or-corner"
+ title="<side-or-corner>"><strong>5.1.1.</strong></a>
+
+ <li>specified size, <a href="#specified-size"
+ title="specified size"><strong>6.1.</strong></a>
+
+ <li>transition-capable, <a href="#transition-capable"
+ title=transition-capable><strong>2.</strong></a>
+ </ul>
+ <!--end-index-->
</html>
<!-- Keep this comment at the end of the file
Local variables:
Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-images/Overview.src.html,v
retrieving revision 1.192
retrieving revision 1.193
diff -u -d -r1.192 -r1.193
--- Overview.src.html 8 Nov 2011 00:15:00 -0000 1.192
+++ Overview.src.html 8 Nov 2011 23:22:08 -0000 1.193
@@ -575,7 +575,9 @@
omitted it defaults to ''farthest-corner''. It can be given explicitly or
by keyword. For the purpose of the keyword definitions, consider the
box edges as extending infinitely in both directions, rather than
- being finite line segments. Possible values are:
+ being finite line segments.
+ <p>Both ''circle'' and ''ellipse'' gradients accept the following keywords
+ as their <i><extent></i>:
<dl>
<dt><dfn id='radial-closest-side'>''closest-side''</dfn></dt>
<dd>The <i>ending shape</i> is sized so that that it exactly meets the
@@ -595,13 +597,23 @@
sized based on the farthest corner. If the shape is an ellipse,
the <i>ending shape</i> is given the same aspect ratio it would
have if ''farthest-side'' were specified.
- <dt><dfn id='radial-size'>[<length> | <percentage>]{1,2}</dfn></dt>
- <dd>Gives the size of the shape explicitly. The first value represents
+ </dl>
+ <p>For ''circle'' gradients, <i><extent></i> may instead be given
+ explicitly as:
+ <dl>
+ <dt><dfn id='radial-size-circle'><length></dfn></dt>
+ <dd>Gives the radius of the circle explicitly. Negative values are
+ not allowed.
+ </dl>
+ <p>For ''ellipse'' gradients, <i><extent></i> may instead be given
+ explicitly as:
+ <dl>
+ <dt><dfn id='radial-size-circle'>[<length> | <percentage>]{2}</dfn></dt>
+ <dd>Gives the size of the ellipse explicitly. The first value represents
the horizontal radius, the second the vertical radius. Percentages
values are relative to the corresponding dimension of the box.
- If only one value is specified, it applies to both dimensions.
- If the shape is declared as a circle, only a single <length>
- value is allowed. Negative values are never allowed.
+ Negative values are not allowed.
+ </dl>
</dd>
</dl>
Received on Tuesday, 8 November 2011 23:22:15 UTC