- From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 01 Mar 2012 19:31:01 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-images In directory hutz:/tmp/cvs-serv31637 Modified Files: Overview.src.html Log Message: Clarified in the radial-gradient rendering that the ellipses must have the same orientation as the ending-shape as well. Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/css3-images/Overview.src.html,v retrieving revision 1.331 retrieving revision 1.332 diff -u -d -r1.331 -r1.332 --- Overview.src.html 29 Feb 2012 18:59:21 -0000 1.331 +++ Overview.src.html 1 Mar 2012 19:30:58 -0000 1.332 @@ -799,7 +799,7 @@ <p>Color-stops are placed on a <dfn>gradient ray</dfn>, similar to the <i>gradient line</i> of linear gradients. The <i>gradient ray</i> is anchored at the center of the gradient and extends toward the right. The 0% location is at the start of the <i>gradient ray</i>, and the 100% location is on the point where the <i>gradient ray</i> intersects the <i>ending shape</i>. Negative locations can be specified; though negative locations are never directly consulted for rendering, they can affect the color of non-negative locations on the <i>gradient ray</i> through interpolation. For example, ''radial-gradient(red -50px, yellow 100px)'' produces an elliptical gradient that starts with a reddish-orange color in the center (specifically, #f50) and transitions to yellow. Locations greater than 100% simply specify a location a correspondingly greater distance from the center of the gradient.</p> - <p>The color of the gradient at any point is determined by first finding the unique ellipse passing through that point with the same center and ratio between major and minor axises as the ending-shape. The point's color is then the color of the <i>gradient ray</i> at the point where this ellipse intersects it.</p> + <p>The color of the gradient at any point is determined by first finding the unique ellipse passing through that point with the same center, orientation, and ratio between major and minor axises as the ending-shape. The point's color is then the color of the <i>gradient ray</i> at the point where this ellipse intersects it.</p> <h4 class="no-toc" id="degenerate-radials"> Degenerate Radial Gradients</h4>
Received on Thursday, 1 March 2012 19:31:03 UTC