- From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 08 Sep 2011 21:29:11 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-images In directory hutz:/tmp/cvs-serv19214 Modified Files: Overview.html Overview.src.html Log Message: Changed the wording of a note, per Brian's feedback. Index: Overview.html =================================================================== RCS file: /sources/public/csswg/css3-images/Overview.html,v retrieving revision 1.170 retrieving revision 1.171 diff -u -d -r1.170 -r1.171 --- Overview.html 8 Sep 2011 21:18:32 -0000 1.170 +++ Overview.html 8 Sep 2011 21:29:09 -0000 1.171 @@ -1334,8 +1334,8 @@ of units, such as px, em, or %, in a single rule, as this can cause a color-stop to unintentionally try to move before an earlier one. For example, the rule ‘<code class=css>background-image: - linear-gradient(red, yellow 100px, blue 50%)</code>’ would work as - expected as long as the background area is at least 200px tall. If it was + linear-gradient(yellow 100px, blue 50%)</code>’ wouldn't require any + fix-up as long as the background area is at least 200px tall. If it was 150px tall, however, the blue color-stop's position would be equivalent to "75px", which precedes the yellow color-stop, and would be corrected to a position of 100px. Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/css3-images/Overview.src.html,v retrieving revision 1.177 retrieving revision 1.178 diff -u -d -r1.177 -r1.178 --- Overview.src.html 8 Sep 2011 21:18:32 -0000 1.177 +++ Overview.src.html 8 Sep 2011 21:29:09 -0000 1.178 @@ -873,14 +873,7 @@ <p><small>* SVG-in-HTML support required to view the images.</small></p> </div> - <p class=note>Note: It is recommended that authors not mix different types of units, - such as px, em, or %, in a single rule, as this can cause a color-stop to - unintentionally try to move before an earlier one. For example, the rule - ''background-image: linear-gradient(red, yellow 100px, blue 50%)'' would - work as expected as long as the background area is at least 200px tall. - If it was 150px tall, however, the blue color-stop's position would be - equivalent to "75px", which precedes the yellow color-stop, and would be - corrected to a position of 100px.</p> + <p class=note>Note: It is recommended that authors not mix different types of units, such as px, em, or %, in a single rule, as this can cause a color-stop to unintentionally try to move before an earlier one. For example, the rule ''background-image: linear-gradient(yellow 100px, blue 50%)'' wouldn't require any fix-up as long as the background area is at least 200px tall. If it was 150px tall, however, the blue color-stop's position would be equivalent to "75px", which precedes the yellow color-stop, and would be corrected to a position of 100px.</p> <p class=note>Note: The definition and implications of "premultiplied" color spaces are given elsewhere in the technical literature, but a quick primer is given
Received on Thursday, 8 September 2011 21:29:12 UTC