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

Side by Side Diff: LayoutTests/fast/shapes/shape-inside/shape-inside-text.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 width: 200px; 6 width: 200px;
11 height: 200px; 7 height: 200px;
12 -webkit-shape-inside: rectangle(10px, 10px, 180px, 180px); 8 -webkit-shape-inside: rectangle(10px, 10px, 180px, 180px);
13 position: relative; 9 position: relative;
14 } 10 }
15 #border { 11 #border {
16 position: absolute; 12 position: absolute;
17 top: 8px; 13 top: 8px;
18 left: 8px; 14 left: 8px;
19 width: 180px; 15 width: 180px;
20 height: 180px; 16 height: 180px;
21 border: 2px solid blue; 17 border: 2px solid blue;
22 } 18 }
23 </style> 19 </style>
24 </head> 20 </head>
25 <body> 21 <body>
26 <div id="shape-inside"> 22 <div id="shape-inside">
27 <div id="border"></div> 23 <div id="border"></div>
28 This text should be contained by the blue square. 24 This text should be contained by the blue square.
29 </div> 25 </div>
30 </body> 26 </body>
31 </html> 27 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698