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

Side by Side Diff: LayoutTests/fast/shapes/shape-inside/shape-inside-polygon-rectangle.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-horizontal { 5 #shape-inside-horizontal {
10 width: 200px; 6 width: 200px;
11 height: 220px; 7 height: 220px;
12 -webkit-shape-inside: polygon(15px 20px, 165px 20px, 165px 195px, 15px 1 95px); 8 -webkit-shape-inside: polygon(15px 20px, 165px 20px, 165px 195px, 15px 1 95px);
13 position: relative; 9 position: relative;
14 } 10 }
15 #shape-inside-vertical-lr { 11 #shape-inside-vertical-lr {
16 width: 200px; 12 width: 200px;
17 height: 220px; 13 height: 220px;
(...skipping 26 matching lines...) Expand all
44 <div id="shape-inside-vertical-lr"> 40 <div id="shape-inside-vertical-lr">
45 <div id="border"></div> 41 <div id="border"></div>
46 This text should be contained by the blue square. 42 This text should be contained by the blue square.
47 </div> 43 </div>
48 <div id="shape-inside-vertical-rl"> 44 <div id="shape-inside-vertical-rl">
49 <div id="border"></div> 45 <div id="border"></div>
50 This text should be contained by the blue square. 46 This text should be contained by the blue square.
51 </div> 47 </div>
52 </body> 48 </body>
53 </html> 49 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698