W3C home > Mailing lists > Public > public-css-commits@w3.org > February 2012

csswg/css3-images gradient1.svg,1.2,1.3

From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 09 Feb 2012 10:21:39 +0000
To: public-css-commits@w3.org
Message-Id: <E1RvR8F-0006cK-MB@lionel-hutz.w3.org>
Update of /sources/public/csswg/css3-images
In directory hutz:/tmp/cvs-serv25422

Modified Files:
	gradient1.svg 
Log Message:
Whoops, restore the image I accidentally broke.

Index: gradient1.svg
===================================================================
RCS file: /sources/public/csswg/css3-images/gradient1.svg,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- gradient1.svg	7 Feb 2012 09:18:37 -0000	1.2
+++ gradient1.svg	9 Feb 2012 10:21:37 -0000	1.3
@@ -1,10 +1,11 @@
-<svg xmlns="http://www.w3.org/2000/svg" width='250' height='200'>
+<svg xmlns="http://www.w3.org/2000/svg" width='200' height='100'>
+	<desc>Image of a color gradient</desc>
 	<defs>
-		<linearGradient x1='50' y1='200' x2='200' y2='0' gradientUnits='userSpaceOnUse' id='corner-gradient'>
+		<linearGradient x1='0' y1='1' x2='1' y2='0' gradientUnits='objectBoundingBox' id='corner-gradient'>
 			<stop offset='0%' stop-color='red'/>
 			<stop offset='50%' stop-color='white'/>
 			<stop offset='100%' stop-color='blue'/>
 		</linearGradient>
 	</defs>
-	<rect x='25' y='25' width='200' height='150' fill='url(#corner-gradient)' />
-</svg>
+	<rect x='0' y='0' width='100%' height='100%' fill='url(#corner-gradient)' />
+</svg>
\ No newline at end of file
Received on Thursday, 9 February 2012 10:21:41 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:44:50 UTC