- From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 11 Nov 2011 23:04:47 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-images In directory hutz:/tmp/cvs-serv15738 Modified Files: Overview.html Overview.src.html Log Message: Typo fix that turned into an editorial tweak. Index: Overview.html =================================================================== RCS file: /sources/public/csswg/css3-images/Overview.html,v retrieving revision 1.213 retrieving revision 1.214 diff -u -d -r1.213 -r1.214 --- Overview.html 11 Nov 2011 23:03:40 -0000 1.213 +++ Overview.html 11 Nov 2011 23:04:44 -0000 1.214 @@ -523,8 +523,8 @@ <p>When the image doesn't load, the background color is still there to ensure that the white text is readable. However, if the image has some - transparency, that doesn't work, as they background-color will be visible - behind it. The ‘<code class=css>image()</code>’ function + transparency, the black will be visible behind it, which is probably not + desired. The ‘<code class=css>image()</code>’ function addresses this:</p> <pre> Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/css3-images/Overview.src.html,v retrieving revision 1.221 retrieving revision 1.222 diff -u -d -r1.221 -r1.222 --- Overview.src.html 11 Nov 2011 23:03:40 -0000 1.221 +++ Overview.src.html 11 Nov 2011 23:04:45 -0000 1.222 @@ -249,7 +249,7 @@ body { color: black; background: white; } p.special { color: white; background: url("dark.png") black; }</pre> - <p>When the image doesn't load, the background color is still there to ensure that the white text is readable. However, if the image has some transparency, that doesn't work, as they background-color will be visible behind it. The ''image()'' function addresses this:</p> + <p>When the image doesn't load, the background color is still there to ensure that the white text is readable. However, if the image has some transparency, the black will be visible behind it, which is probably not desired. The ''image()'' function addresses this:</p> <pre> body { color: black; background: white; }
Received on Friday, 11 November 2011 23:04:52 UTC