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

Side by Side Diff: LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-inset-rounded-large-radius.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 <html> 2 <html>
3 <style> 3 <style>
4 .container { 4 .container {
5 font: 20px/1 Ahem, sans-serif; 5 font: 20px/1 Ahem, sans-serif;
6 width: 500px; 6 width: 500px;
7 height: 200px; 7 height: 200px;
8 border: 1px solid black; 8 border: 1px solid black;
9 } 9 }
10 10
11 .rounded-rect { 11 .rounded-rect {
12 width: 320px; 12 width: 320px;
13 height: 160px; 13 height: 160px;
14 background-color: blue; 14 background-color: blue;
15 border-radius: 200px; 15 border-radius: 200px;
16 shape-outside: inset(0px round 200px); 16 shape-outside: inset(0px round 200px);
17 } 17 }
18 </style> 18 </style>
19 19
20 <script src="../../../resources/ahem.js"></script>
20 <body> 21 <body>
21 <div class="container" style="text-align: right"> 22 <div class="container" style="text-align: right">
22 X<br/> 23 X<br/>
23 <div style="float: right" class="rounded-rect"></div> 24 <div style="float: right" class="rounded-rect"></div>
24 X<br/> 25 X<br/>
25 X<br/> 26 X<br/>
26 X<br/> 27 X<br/>
27 X<br/> 28 X<br/>
28 X<br/> 29 X<br/>
29 X<br/> 30 X<br/>
30 X<br/> 31 X<br/>
31 X<br/> 32 X<br/>
32 X 33 X
33 </div> 34 </div>
34 35
35 <p>Requires Ahem font. There is a 0px size inset applied on the right float with 200px radius.<br> 36 <p>Requires Ahem font. There is a 0px size inset applied on the right float with 200px radius.<br>
36 The black squares should trace the left side of the rounded rectangle's blue out line.</p> 37 The black squares should trace the left side of the rounded rectangle's blue out line.</p>
37 <p>Bug <a href="https://code.google.com/p/chromium/issues/detail?id=351775">3517 75</a>: [CSS Shapes] inset does not properly clamp large corner radii</p> 38 <p>Bug <a href="https://code.google.com/p/chromium/issues/detail?id=351775">3517 75</a>: [CSS Shapes] inset does not properly clamp large corner radii</p>
38 39
39 </body> 40 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698