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

Side by Side Diff: LayoutTests/fast/shapes/shape-inside/shape-inside-collinear-vertices.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-collinear-vertices { 5 #shape-inside-collinear-vertices {
10 font: 50px/1 Ahem, sans-serif; 6 font: 50px/1 Ahem, sans-serif;
11 color: green; 7 color: green;
12 width: 250px; 8 width: 250px;
13 height: 250px; 9 height: 250px;
14 -webkit-shape-inside: polygon(200px 100px, 150px 150px, 100px 200px, 50p x 250px, 50px 50px, 60px 50px, 61px 50px, 250px 50px); 10 -webkit-shape-inside: polygon(200px 100px, 150px 150px, 100px 200px, 50p x 250px, 50px 50px, 60px 50px, 61px 50px, 250px 50px);
15 } 11 }
16 #shape-inside { 12 #shape-inside {
17 font: 50px/1 Ahem, sans-serif; 13 font: 50px/1 Ahem, sans-serif;
18 color: green; 14 color: green;
19 width: 250px; 15 width: 250px;
20 height: 250px; 16 height: 250px;
21 -webkit-shape-inside: polygon(50px 50px, 250px 50px, 250px 50px, 50px 2 50px); 17 -webkit-shape-inside: polygon(50px 50px, 250px 50px, 250px 50px, 50px 2 50px);
22 } 18 }
23 </style> 19 </style>
24 </head> 20 </head>
25 <body> 21 <body>
26 Requires Ahem font. Verifies that polygonal shapes with multiple coincident vertices produce 22 Requires Ahem font. Verifies that polygonal shapes with multiple coincident vertices produce
27 the same output as they would with only the unique vertices. This test shou ld display two 23 the same output as they would with only the unique vertices. This test shou ld display two
28 indentical solid green rectilinear triangles. 24 indentical solid green rectilinear triangles.
29 <div id="shape-inside-collinear-vertices">XXX XX X</div> 25 <div id="shape-inside-collinear-vertices">XXX XX X</div>
30 <div id="shape-inside">XXX XX X</div> 26 <div id="shape-inside">XXX XX X</div>
31 </body> 27 </body>
32 </html> 28 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698