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

Side by Side Diff: LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-stacked-001.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, 6 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 <style> 2 <style>
3 .container { 3 .container {
4 width: 200px; 4 width: 200px;
5 height: 100px; 5 height: 100px;
6 font: 50px/1 Ahem, sans-serif; 6 font: 50px/1 Ahem, sans-serif;
7 background-color: red; 7 background-color: red;
8 margin-bottom: 50px; 8 margin-bottom: 50px;
9 color: green; 9 color: green;
10 } 10 }
(...skipping 21 matching lines...) Expand all
32 } 32 }
33 .float-right-inner { 33 .float-right-inner {
34 margin-top: 50px; 34 margin-top: 50px;
35 width: 100px; 35 width: 100px;
36 height: 50px; 36 height: 50px;
37 float: right; 37 float: right;
38 background-color: green; 38 background-color: green;
39 shape-outside: inset(0 0 0 100%); 39 shape-outside: inset(0 0 0 100%);
40 } 40 }
41 </style> 41 </style>
42 <script src="../../../resources/ahem.js"></script>
42 <body> 43 <body>
43 <p>If a shape on a stacked float does not affect the line, then the line sho uld be affected by the shape on the previous stacked float.</p> 44 <p>If a shape on a stacked float does not affect the line, then the line sho uld be affected by the shape on the previous stacked float.</p>
44 <p>You should see two green rectanges. There should be no red.</p> 45 <p>You should see two green rectanges. There should be no red.</p>
45 <div class="container"> 46 <div class="container">
46 <div class="float-left-inner"></div> 47 <div class="float-left-inner"></div>
47 <div class="float-left-outer"></div> 48 <div class="float-left-outer"></div>
48 XXXX 49 XXXX
49 </div> 50 </div>
50 <div class="container" style="text-align: right"> 51 <div class="container" style="text-align: right">
51 <div class="float-right-inner"></div> 52 <div class="float-right-inner"></div>
52 <div class="float-right-outer"></div> 53 <div class="float-right-outer"></div>
53 XXXX 54 XXXX
54 </div> 55 </div>
55 </body> 56 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698