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

Side by Side Diff: LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-negative-top-margin.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: 150px; 4 width: 150px;
5 height: 50px; 5 height: 50px;
6 font: 50px/1 Ahem; 6 font: 50px/1 Ahem;
7 overflow: hidden; 7 overflow: hidden;
8 background-color: red; 8 background-color: red;
9 color: green; 9 color: green;
10 } 10 }
11 .float { 11 .float {
12 width: 100px; 12 width: 100px;
13 height: 100px; 13 height: 100px;
14 float: left; 14 float: left;
15 background-color: green; 15 background-color: green;
16 margin-top: -50px; 16 margin-top: -50px;
17 shape-outside: inset(0); 17 shape-outside: inset(0);
18 } 18 }
19 </style> 19 </style>
20 <script src="../../../resources/ahem.js"></script>
20 <body> 21 <body>
21 <p>You should see one green rectangle. You should not see any red.</p> 22 <p>You should see one green rectangle. You should not see any red.</p>
22 <div class="container"> 23 <div class="container">
23 <div class="float"></div> 24 <div class="float"></div>
24 X 25 X
25 </div> 26 </div>
26 </body> 27 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698