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

Side by Side Diff: LayoutTests/fast/shapes/shape-inside/shape-inside-inline-elements.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 #shape-inside { 5 #shape-inside {
10 font-size: 0; 6 font-size: 0;
11 width: 300px; 7 width: 300px;
12 height: 300px; 8 height: 300px;
13 -webkit-shape-inside: rectangle(100px, 100px, 200px, 200px); 9 -webkit-shape-inside: rectangle(100px, 100px, 200px, 200px);
14 position: relative; 10 position: relative;
15 } 11 }
16 #border { 12 #border {
17 position: absolute; 13 position: absolute;
(...skipping 12 matching lines...) Expand all
30 </style> 26 </style>
31 </head> 27 </head>
32 <body> 28 <body>
33 Should display a green square with a blue outline. 29 Should display a green square with a blue outline.
34 <div id="shape-inside"> 30 <div id="shape-inside">
35 <div id="border"></div> 31 <div id="border"></div>
36 <div class="inline"></div><div class="inline"></div><div class="inline"> </div><div class="inline"></div> 32 <div class="inline"></div><div class="inline"></div><div class="inline"> </div><div class="inline"></div>
37 </div> 33 </div>
38 </body> 34 </body>
39 </html> 35 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698