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

Side by Side Diff: LayoutTests/fast/shapes/shape-inside/shape-inside-rounded-rectangle-fit-002.html

Issue 20806004: Remove Explicit Shapes Enablement in Tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Enabled by default, no need to call internals Created 7 years, 4 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 <head> 3 <head>
4 <script>
5 if (window.internals)
6 window.internals.settings.setCSSExclusionsEnabled(true);
7 </script>
8 <!-- 4 <!--
9 In this test the shape-inside shape is a rounded rectangle configured as a circl e with radius of 100px. 5 In this test the shape-inside shape is a rounded rectangle configured as a circl e with radius of 100px.
10 The shape-inside element contains a single square Ahem font character that just fits wthin the circle. 6 The shape-inside element contains a single square Ahem font character that just fits wthin the circle.
11 That means that the character's size is sqrt(2)*100px, which is 141.41356px. 7 That means that the character's size is sqrt(2)*100px, which is 141.41356px.
12 --> 8 -->
13 <style> 9 <style>
14 #shape-container { 10 #shape-container {
15 position: relative; 11 position: relative;
16 display: inline-block; 12 display: inline-block;
17 width: 200px; 13 width: 200px;
(...skipping 24 matching lines...) Expand all
42 </style> 38 </style>
43 </head> 39 </head>
44 <body> 40 <body>
45 <p>The green rectangle should appear within the grey circle.</p> 41 <p>The green rectangle should appear within the grey circle.</p>
46 <div id="shape-container"> 42 <div id="shape-container">
47 <div id="shape-background"></div> 43 <div id="shape-background"></div>
48 <div id="shape-inside">X</div> 44 <div id="shape-inside">X</div>
49 </div> 45 </div>
50 </body> 46 </body>
51 </html> 47 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698