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

Side by Side Diff: LayoutTests/fast/shapes/shape-inside/shape-inside-rectangle-padding.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 position: relative; 6 position: relative;
11 width: 400px; 7 width: 400px;
12 height: 400px; 8 height: 400px;
13 -webkit-shape-inside: rectangle(10px, 10px, 250px, 250px); 9 -webkit-shape-inside: rectangle(10px, 10px, 250px, 250px);
14 -webkit-shape-padding: 50px; 10 -webkit-shape-padding: 50px;
15 font: 50px/1 Ahem, sans-serif; 11 font: 50px/1 Ahem, sans-serif;
16 color: green; 12 color: green;
17 } 13 }
(...skipping 10 matching lines...) Expand all
28 <body> 24 <body>
29 <p>You should see a filled green square within a black outline.</p> 25 <p>You should see a filled green square within a black outline.</p>
30 <div id="shape-inside"> 26 <div id="shape-inside">
31 <svg id="shape-outline" xmlns="http://www.w3.org/2000/svg"> 27 <svg id="shape-outline" xmlns="http://www.w3.org/2000/svg">
32 <rect x="58" y="58" width="154" height="154" stroke="black" fill="no ne"/> 28 <rect x="58" y="58" width="154" height="154" stroke="black" fill="no ne"/>
33 </svg> 29 </svg>
34 XXX XXX XXX 30 XXX XXX XXX
35 </div> 31 </div>
36 </body> 32 </body>
37 </html> 33 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698