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

Side by Side Diff: LayoutTests/fast/shapes/shape-inside/shape-inside-circle.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 <style> 4 <style>
9 /* The size of a square that just fits within a circle of radius r is r * sq rt(2). In this 5 /* The size of a square that just fits within a circle of radius r is r * sq rt(2). In this
10 case that's the size of one Ahem character: 100 * sqrt(2) == 141.42. 6 case that's the size of one Ahem character: 100 * sqrt(2) == 141.42.
11 */ 7 */
12 #shape-inside { 8 #shape-inside {
13 position: relative; 9 position: relative;
14 width: 400px; 10 width: 400px;
15 height: 400px; 11 height: 400px;
16 -webkit-shape-inside: circle(200px, 200px, 100px); 12 -webkit-shape-inside: circle(200px, 200px, 100px);
17 font: 141.42px/1 Ahem, sans-serif; 13 font: 141.42px/1 Ahem, sans-serif;
(...skipping 12 matching lines...) Expand all
30 </head> 26 </head>
31 <body> 27 <body>
32 <div id="shape-inside"> 28 <div id="shape-inside">
33 <svg id="shape-outline" xmlns="http://www.w3.org/2000/svg"> 29 <svg id="shape-outline" xmlns="http://www.w3.org/2000/svg">
34 <circle cx="200" cy="200" r="100" stroke="blue" fill="none"/> 30 <circle cx="200" cy="200" r="100" stroke="blue" fill="none"/>
35 </svg> 31 </svg>
36 X 32 X
37 </div> 33 </div>
38 </body> 34 </body>
39 </html> 35 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698