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

Side by Side Diff: LayoutTests/fast/shapes/shape-outside-floats/shape-outside-relative-size-svg.html

Issue 26390004: Rework SVG sizing (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix mishap during rebase in svg.css Created 6 years, 8 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 <style> 4 <style>
5 #container { 5 #container {
6 color: green; 6 color: green;
7 font: 100px/1 Ahem, sans-serif; 7 font: 100px/1 Ahem, sans-serif;
8 } 8 }
9 #shape-outside { 9 #shape-outside {
10 margin-top: 100px; 10 margin-top: 100px;
11 width: 200px; 11 width: 200px;
12 height: 400px; 12 height: 400px;
13 float: left; 13 float: left;
14 shape-outside: url("data:image/svg+xml;UTF-8,<svg xmlns='http://www.w3.org/2 000/svg' width='50%' height='25%'><rect width='100%' height='100%' fill='blue' / ></svg>"); 14 shape-outside: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/sv g'><rect width='50%' height='25%' fill='blue' /></svg>");
15 background-image: url("data:image/svg+xml;UTF-8,<svg xmlns='http://www.w3.or g/2000/svg' width='50%' height='25%'><rect width='100%' height='100%' fill='blue ' /></svg>"); 15 background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000 /svg'><rect width='50%' height='25%' fill='blue' /></svg>");
16 background-repeat: no-repeat; 16 background-repeat: no-repeat;
17 } 17 }
18 </style> 18 </style>
19 </head> 19 </head>
20 <body> 20 <body>
21 <p>You should see three blue squares: above the green square, to the green squar e's right, and below the green square.</p> 21 <p>You should see three green squares: above the blue square, to the blue square 's right, and below the blue square.</p>
22 <div id="container"> 22 <div id="container">
23 <div id="shape-outside"></div> 23 <div id="shape-outside"></div>
24 X<br>X<br>X 24 X<br>X<br>X
25 </div> 25 </div>
26 </body> 26 </body>
27 </html> 27 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698