- From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 01 Dec 2011 20:53:47 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-images
In directory hutz:/tmp/cvs-serv19464
Modified Files:
Overview.html Overview.src.html
Log Message:
Added a note making it more explicit that circles can't use percentages.
Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/css3-images/Overview.html,v
retrieving revision 1.230
retrieving revision 1.231
diff -u -d -r1.230 -r1.231
--- Overview.html 1 Dec 2011 20:50:14 -0000 1.230
+++ Overview.html 1 Dec 2011 20:53:45 -0000 1.231
@@ -1096,8 +1096,8 @@
class=css>farthest-corner</code>’</dfn>
<dd>Same as ‘<code class=css>closest-corner</code>’, except
- the <a href="#ending-shape"><i>ending shape</i></a> is sized based on
- the farthest corner. If the shape is an ellipse, the <a
+ the <a href="#ending-shape"><i>ending shape</i></a> is be sized based
+ on the farthest corner. If the shape is an ellipse, the <a
href="#ending-shape"><i>ending shape</i></a> is given the same aspect
ratio it would have if ‘<code
class=css>farthest-side</code>’ were specified.
@@ -1110,15 +1110,18 @@
<dl>
<dt><dfn id=radial-size-circle><length></dfn>
- <dd>
- <p>Gives the radius of the circle explicitly. Negative values are
- invalid.</p>
-
- <p class=note>Note that percentages are <em>not</em> allowed here; they
- can only be used to specify the size of an elliptical gradient, not a
- circular one. This
+ <dd>Gives the radius of the circle explicitly. Negative values are
+ invalid.
</dl>
+ <p class=note>Note that percentages are <em>not</em> allowed here; they
+ can only be used to specify the size of an elliptical gradient, not a
+ circular one. This restriction exists because there is no obvious answer
+ as to which dimension the percentage should be relative to. A future
+ level of this module may provide the ability to size circles with
+ percentages, perhaps with more explicit controls over which dimension is
+ used.</p>
+
<p>If <a href="#ltshape"><i><shape></i></a> is specified as
‘<code class=css>ellipse</code>’ or is omitted,
<i><extent></i> may instead be given explicitly as:
Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-images/Overview.src.html,v
retrieving revision 1.237
retrieving revision 1.238
diff -u -d -r1.237 -r1.238
--- Overview.src.html 1 Dec 2011 20:44:53 -0000 1.237
+++ Overview.src.html 1 Dec 2011 20:53:45 -0000 1.238
@@ -687,6 +687,8 @@
<dd>Gives the radius of the circle explicitly. Negative values are
invalid.
</dl>
+
+ <p class='note'>Note that percentages are <em>not</em> allowed here; they can only be used to specify the size of an elliptical gradient, not a circular one. This restriction exists because there is no obvious answer as to which dimension the percentage should be relative to. A future level of this module may provide the ability to size circles with percentages, perhaps with more explicit controls over which dimension is used.</p>
<p>If <i><shape></i> is specified as ''ellipse'' or is omitted,
<i><extent></i> may instead be given explicitly as:
Received on Thursday, 1 December 2011 20:53:50 UTC