W3C home > Mailing lists > Public > public-html-commits@w3.org > March 2011

html5/html-xhtml-author-guide SamplePage.html,1.6,1.7

From: Eliot Graff via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 01 Mar 2011 23:19:17 +0000
To: public-html-commits@w3.org
Message-Id: <E1PuYqb-0006tk-FG@lionel-hutz.w3.org>
Update of /sources/public/html5/html-xhtml-author-guide
In directory hutz:/tmp/cvs-serv26500

Modified Files:
	SamplePage.html 
Log Message:
Removed newlines from SVG attribute

Index: SamplePage.html
===================================================================
RCS file: /sources/public/html5/html-xhtml-author-guide/SamplePage.html,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- SamplePage.html	13 Jan 2011 01:53:01 -0000	1.6
+++ SamplePage.html	1 Mar 2011 23:19:15 -0000	1.7
@@ -51,20 +51,8 @@
 					<ellipse cx="50%" cy="50%" rx="50%" ry="42%" style="fill:url(#myGradient)"/>
 					<rect x="0" y="0" width="100" height="100" style="fill: yellow; stroke: black;"/> 
 					<a xlink:href="http://www.w3schools.com/svg/tryit.asp?filename=path2&amp;type=svg">
-				       <path  transform="translate(60, -175)" d="M153 334
-				        C153 334 151 334 151 334
-				        C151 339 153 344 156 344
-				        C164 344 171 339 171 334
-				        C171 322 164 314 156 314
-				        C142 314 131 322 131 334
-				        C131 350 142 364 156 364
-				        C175 364 191 350 191 334
-				        C191 311 175 294 156 294
-				        C131 294 111 311 111 334
-				        C111 361 131 384 156 384
-				        C186 384 211 361 211 334
-				        C211 300 186 274 156 274"
-				        style="fill:white;stroke:red;stroke-width:2"/>
+						<!-- Note that the following attribute contains no newlines. -->
+				       <path  transform="translate(60, -175)" d="M153 334 C153 334 151 334 151 334 C151 339 153 344 156 344 C164 344 171 339 171 334 C171 322 164 314 156 314 C142 314 131 322 131 334 C131 350 142 364 156 364 C175 364 191 350 191 334 C191 311 175 294 156 294 C131 294 111 311 111 334 C111 361 131 384 156 384 C186 384 211 361 211 334 C211 300 186 274 156 274" style="fill:white;stroke:red;stroke-width:2"/>
 					</a>
 				</g>
 			</svg> 		
Received on Tuesday, 1 March 2011 23:19:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 1 March 2011 23:21:43 GMT