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

Side by Side Diff: third_party/WebKit/LayoutTests/web-animations-api/w3c/simple-keyframes.html

Issue 2643483004: Fix missed renames from renaming LayoutTests/imported/ -> LayoutTests/external/ (Closed)
Patch Set: Created 3 years, 11 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 | « third_party/WebKit/LayoutTests/web-animations-api/time-consistent-across-frames.html ('k') | no next file » | 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 <meta charset=utf-8> 2 <meta charset=utf-8>
3 <title>Animate() with no offsets</title> 3 <title>Animate() with no offsets</title>
4 <link rel="help" href="https://w3c.github.io/web-animations/#keyframe-animation- effects"> 4 <link rel="help" href="https://w3c.github.io/web-animations/#keyframe-animation- effects">
5 <script src="../../resources/testharness.js"></script> 5 <script src="../../resources/testharness.js"></script>
6 <script src="../../resources/testharnessreport.js"></script> 6 <script src="../../resources/testharnessreport.js"></script>
7 <script src="../../imported/wpt/web-animations/testcommon.js"></script> 7 <script src="../../external/wpt/web-animations/testcommon.js"></script>
8 <body> 8 <body>
9 <script> 9 <script>
10 'use strict'; 10 'use strict';
11 test(function(t) { 11 test(function(t) {
12 var keyframes = [ 12 var keyframes = [
13 {opacity: '0.25', left: '25px'}, 13 {opacity: '0.25', left: '25px'},
14 {opacity: '0.75', left: '75px'}, 14 {opacity: '0.75', left: '75px'},
15 ]; 15 ];
16 var expectations = { 16 var expectations = {
17 0.5: {opacity: '0.5', left: '50px'}, 17 0.5: {opacity: '0.5', left: '50px'},
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 delay: -progress * 1000, 49 delay: -progress * 1000,
50 }); 50 });
51 var computedStyle = getComputedStyle(element); 51 var computedStyle = getComputedStyle(element);
52 for (var property in expectations[progress]) { 52 for (var property in expectations[progress]) {
53 assert_equals(computedStyle[property], expectations[progress][property], 53 assert_equals(computedStyle[property], expectations[progress][property],
54 property + ' at ' + (progress * 100) + '%'); 54 property + ' at ' + (progress * 100) + '%');
55 } 55 }
56 } 56 }
57 }, 'element.animate() with 3 keyframes'); 57 }, 'element.animate() with 3 keyframes');
58 </script> 58 </script>
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/web-animations-api/time-consistent-across-frames.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698