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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/web-animations/interfaces/AnimationEffectTiming/getComputedStyle.html

Issue 2697453005: Import wpt@758b3b4cfa805067f36121333ba031e583d3a62c (Closed)
Patch Set: Add -expected.txt files. Created 3 years, 10 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 <meta charset=utf-8> 2 <meta charset=utf-8>
3 <title>getComputedStyle tests</title> 3 <title>getComputedStyle tests</title>
4 <link rel="help" href="http://w3c.github.io/web-animations/#animationeffecttimin g"> 4 <link rel="help" href="http://w3c.github.io/web-animations/#animationeffecttimin g">
5 <link rel="author" title="Ryo Motozawa" href="mailto:motozawa@mozilla-japan.org" > 5 <link rel="author" title="Ryo Motozawa" href="mailto:motozawa@mozilla-japan.org" >
6 <script src="/resources/testharness.js"></script> 6 <script src="/resources/testharness.js"></script>
7 <script src="/resources/testharnessreport.js"></script> 7 <script src="/resources/testharnessreport.js"></script>
8 <script src="../../testcommon.js"></script> 8 <script src="../../testcommon.js"></script>
9 <body> 9 <body>
10 <div id="log"></div> 10 <div id="log"></div>
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 { fill: 'backwards', 159 { fill: 'backwards',
160 duration: 10000, 160 duration: 10000,
161 direction: 'normal' }); 161 direction: 'normal' });
162 162
163 // test for a flip of value at the currentTime = 0 163 // test for a flip of value at the currentTime = 0
164 anim.effect.timing.direction = 'reverse'; 164 anim.effect.timing.direction = 'reverse';
165 165
166 assert_equals(getComputedStyle(div).opacity, '1', 166 assert_equals(getComputedStyle(div).opacity, '1',
167 'change direction from "normal" to "reverse" ' + 167 'change direction from "normal" to "reverse" ' +
168 'at the starting point'); 168 'at the starting point');
169 }, 'change direction from "normal" to "reverse"'); 169 }, 'change direction from "normal" to "reverse" when currentTime is 0');
170 170
171 </script> 171 </script>
172 </body> 172 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698