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

Side by Side Diff: LayoutTests/css3/masking/clip-path-animation.html

Issue 191353002: [CSS Shapes] Omit polygon default fill-rule (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add COMPILE_ASSERT Created 6 years, 9 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
« no previous file with comments | « no previous file | LayoutTests/css3/masking/clip-path-animation-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 2
3 <html> 3 <html>
4 <head> 4 <head>
5 <style> 5 <style>
6 .box { 6 .box {
7 height: 100px; 7 height: 100px;
8 width: 100px; 8 width: 100px;
9 margin: 10px; 9 margin: 10px;
10 background-color: blue; 10 background-color: blue;
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 } 49 }
50 50
51 </style> 51 </style>
52 <script src="../../animations/resources/animation-test-helpers.js"></script> 52 <script src="../../animations/resources/animation-test-helpers.js"></script>
53 <script type="text/javascript"> 53 <script type="text/javascript">
54 const expectedValues = [ 54 const expectedValues = [
55 // [time, element-id, property, expected-value, tolerance] 55 // [time, element-id, property, expected-value, tolerance]
56 [1, "rectangle-box", "webkitClipPath", "rectangle(10%, 10%, 80%, 80%, 0px, 0px)", 0.05], 56 [1, "rectangle-box", "webkitClipPath", "rectangle(10%, 10%, 80%, 80%, 0px, 0px)", 0.05],
57 [1, "circle-box", "webkitClipPath", "circle(35% at 35% 35%)", 0.05], 57 [1, "circle-box", "webkitClipPath", "circle(35% at 35% 35%)", 0.05],
58 [1, "ellipse-box", "webkitClipPath", "ellipse(35% 30% at 35% 35%)", 0.05], 58 [1, "ellipse-box", "webkitClipPath", "ellipse(35% 30% at 35% 35%)", 0.05],
59 [1, "polygon-box", "webkitClipPath", "polygon(nonzero, 10% 10%, 90% 10%, 9 0% 90%, 10% 90%)", 0.05], 59 [1, "polygon-box", "webkitClipPath", "polygon(10% 10%, 90% 10%, 90% 90%, 1 0% 90%)", 0.05],
60 ]; 60 ];
61 61
62 runAnimationTest(expectedValues); 62 runAnimationTest(expectedValues);
63 </script> 63 </script>
64 </head> 64 </head>
65 <body> 65 <body>
66 66
67 <div class="box" id="rectangle-box"></div> 67 <div class="box" id="rectangle-box"></div>
68 <div class="box" id="circle-box"></div> 68 <div class="box" id="circle-box"></div>
69 <div class="box" id="ellipse-box"></div> 69 <div class="box" id="ellipse-box"></div>
70 <div class="box" id="polygon-box"></div> 70 <div class="box" id="polygon-box"></div>
71 71
72 <div id="result"> 72 <div id="result">
73 </div> 73 </div>
74 </body> 74 </body>
75 </html> 75 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/css3/masking/clip-path-animation-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698