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

Side by Side Diff: LayoutTests/fast/shapes/shape-outside-floats/shape-outside-polygon-zero-vertex.html

Issue 1204023002: Deflake tests using ahem font with @font-face. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaseline and fix an svg test Created 5 years, 5 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="../../../resources/ahem.js"></script>
2 <style> 3 <style>
3 .container { 4 .container {
4 width: 400px; 5 width: 400px;
5 text-align: right; 6 text-align: right;
6 font: 50px/1 Ahem, sans-serif; 7 font: 50px/1 Ahem, sans-serif;
7 color: rgba(0, 255, 0, 0.5); 8 color: rgba(0, 255, 0, 0.5);
8 } 9 }
9 10
10 .shape { 11 .shape {
11 float: right; 12 float: right;
12 width: 200px; 13 width: 200px;
13 height: 200px; 14 height: 200px;
14 shape-outside: content-box polygon(0 0, 100% 0, 100% 100%, 50% 100%, 50% 50% , 0 50%); 15 shape-outside: content-box polygon(0 0, 100% 0, 100% 100%, 50% 100%, 50% 50% , 0 50%);
15 background-image: url("data:image/svg+xml;UTF-8,<svg xmlns='http://www.w3.or g/2000/svg' width='100%' height='100%'><polygon points='0,0 200,0 200,200 100,20 0 100,100, 0,100' fill='blue'/></svg>"); 16 background-image: url("data:image/svg+xml;UTF-8,<svg xmlns='http://www.w3.or g/2000/svg' width='100%' height='100%'><polygon points='0,0 200,0 200,200 100,20 0 100,100, 0,100' fill='blue'/></svg>");
16 } 17 }
17 </style> 18 </style>
18 <p>The green rectangles should wrap around the left edge of the blue shape.</p> 19 <p>The green rectangles should wrap around the left edge of the blue shape.</p>
19 <div class='container'> 20 <div class='container'>
20 <div class='shape'></div> 21 <div class='shape'></div>
21 X<br>X<br>X<br>X<br>X 22 X<br>X<br>X<br>X<br>X
22 </div> 23 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698