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

Side by Side Diff: LayoutTests/fast/shapes/shape-inside/shape-inside-regular-polygon8.html

Issue 20489004: [CSS Shapes] Fix Shapes's polygon tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 5 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../resources/subpixel-utils.js"></script>
4 <script src="../resources/simple-polygon.js"></script> 5 <script src="../resources/simple-polygon.js"></script>
5 <script> 6 <script>
6 if (window.internals) 7 if (window.internals)
7 window.internals.settings.setCSSExclusionsEnabled(true); 8 window.internals.settings.setCSSExclusionsEnabled(true);
8 9
9 var vertices = createRegularPolygonVertices(400, 8); // 400x400 regular octa hedron 10 var vertices = createRegularPolygonVertices(400, 8); // 400x400 regular octa hedron
10 var lineHeight = 40; 11 var lineHeight = 40;
11 12
12 function init() { 13 function init() {
13 createPolygonShapeInsideTestCase(); 14 createPolygonShapeInsideTestCase();
(...skipping 12 matching lines...) Expand all
26 <body onload="init()"> 27 <body onload="init()">
27 <svg id="polygon-svg-shape" xmlns="http://www.w3.org/2000/svg"></svg> 28 <svg id="polygon-svg-shape" xmlns="http://www.w3.org/2000/svg"></svg>
28 <div id="polygon-shape-inside"></div> 29 <div id="polygon-shape-inside"></div>
29 <p id="informative-text"> 30 <p id="informative-text">
30 This test requires the Ahem font. It creates a polygonal shape-inside and a matching 31 This test requires the Ahem font. It creates a polygonal shape-inside and a matching
31 filled SVG polygon. The content should just fill the shape with alternatin g black and 32 filled SVG polygon. The content should just fill the shape with alternatin g black and
32 empty rectangles on each line.</p> 33 empty rectangles on each line.</p>
33 </body> 34 </body>
34 35
35 </html> 36 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698