- From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 13 Dec 2011 01:46:25 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-images In directory hutz:/tmp/cvs-serv18914 Modified Files: Overview.html Overview.src.html Log Message: Add another degenerate case for r-g to handle circles, as they're currently discontinuous in a fixable way. Index: Overview.html =================================================================== RCS file: /sources/public/csswg/css3-images/Overview.html,v retrieving revision 1.255 retrieving revision 1.256 diff -u -d -r1.255 -r1.256 --- Overview.html 13 Dec 2011 01:39:52 -0000 1.255 +++ Overview.html 13 Dec 2011 01:46:23 -0000 1.256 @@ -1212,6 +1212,14 @@ degenerate cases, the gradient must be be rendered as follows: <dl> + <dt>If the <a href="#ending-shape"><i>ending shape</i></a> is a circle + with zero width or height: + + <dd>Render as if the <a href="#ending-shape"><i>ending shape</i></a> was a + circle whose radius was an arbitrary very small number greater than zero. + <span class=note>This will make the gradient continue to look like a + circle.</span> + <dt>If the <a href="#ending-shape"><i>ending shape</i></a> has zero width (regardless of the height): Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/css3-images/Overview.src.html,v retrieving revision 1.262 retrieving revision 1.263 diff -u -d -r1.262 -r1.263 --- Overview.src.html 13 Dec 2011 01:39:52 -0000 1.262 +++ Overview.src.html 13 Dec 2011 01:46:23 -0000 1.263 @@ -747,6 +747,9 @@ be rendered as follows:</p> <dl> + <dt>If the <i>ending shape</i> is a circle with zero width or height:</dt> + <dd>Render as if the <i>ending shape</i> was a circle whose radius was an arbitrary very small number greater than zero. <span class='note'>This will make the gradient continue to look like a circle.</span></dd> + <dt>If the <i>ending shape</i> has zero width (regardless of the height):</dt> <dd>Render as if the <i>ending shape</i> was an ellipse whose height was an arbitrary very large number and whose width was an arbitrary very small number greater than zero. <span class='note'>This will make the gradient look similar to a horizontal linear gradient that is mirrored across the center of the ellipse. It also means that all color-stop positions specified with a percentage resolve to ''0px''.</span></dd>
Received on Tuesday, 13 December 2011 01:48:28 UTC