Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(219)

Side by Side Diff: LayoutTests/svg/as-object/svg-embedded-in-html-in-iframe.html

Issue 8390012: Merge 98263 - <svg> fails to use explicit width and height inside <html> inside IFRAME (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/912/
Patch Set: Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script type="text/javascript"> 4 <script type="text/javascript">
5 function CreateCircle(){ 5 function CreateCircle(){
6 var B=""; 6 var B="";
7 B+="<!DOCTYPE html>"; 7 B+="<!DOCTYPE html>";
8 B+="<html>"; 8 B+="<html>";
9 B+="<body>"; 9 B+="<body>";
10 B+="<svg style=\"width:100px;height:100px;\">"; 10 B+="<svg style=\"width:100px;height:100px;\">";
11 B+="<circle cx=\"50%\" cy=\"50%\" r=\"50%\" fill=\"blue\" stroke=\"none\" />"; 11 B+="<circle cx=\"50%\" cy=\"50%\" r=\"50%\" fill=\"blue\" stroke=\"none\" />";
12 B+="</svg>"; 12 B+="</svg>";
13 B+="</body></html>"; 13 B+="</body></html>";
14 return B; 14 return B;
15 } 15 }
16 </script> 16 </script>
17 </head> 17 </head>
18 <body> 18 <body>
19 <iframe src="javascript:parent.CreateCircle();" width="100%" height="100%" frame border="0" scrolling="no"></iframe> 19 <iframe src="javascript:parent.CreateCircle();" width="100%" height="100%" frame border="0" scrolling="no"></iframe>
20 </body> 20 </body>
21 </html> 21 </html>
22 22
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698