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

Side by Side Diff: third_party/WebKit/LayoutTests/web-animations-api/effect-of-keyframeeffect-on-getComputedTiming.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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <title>Things</title> 2 <title>Things</title>
3 <link rel="https://w3c.github.io/web-animations/#the-computedtimingproperties-di ctionary"> 3 <link rel="https://w3c.github.io/web-animations/#the-computedtimingproperties-di ctionary">
4 <script src="../resources/testharness.js"></script> 4 <script src="../resources/testharness.js"></script>
5 <script src="../resources/testharnessreport.js"></script> 5 <script src="../resources/testharnessreport.js"></script>
6 <script src="../imported/wpt/web-animations/testcommon.js"></script> 6 <script src="../external/wpt/web-animations/testcommon.js"></script>
7 7
8 <body> 8 <body>
9 <div id='e'></div> 9 <div id='e'></div>
10 </body> 10 </body>
11 11
12 <script> 12 <script>
13 var element = document.getElementById('e'); 13 var element = document.getElementById('e');
14 var keyframes = [{opacity: '1', offset: 0}, {opacity: '0', offset: 1}]; 14 var keyframes = [{opacity: '1', offset: 0}, {opacity: '0', offset: 1}];
15 15
16 test(function() { 16 test(function() {
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 66
67 test(function() { 67 test(function() {
68 var timing = new KeyframeEffect(element, keyframes).timing; 68 var timing = new KeyframeEffect(element, keyframes).timing;
69 for (var attr of ['delay', 'endDelay', 'iterationStart']) { 69 for (var attr of ['delay', 'endDelay', 'iterationStart']) {
70 assert_throws(new TypeError, function() { timing[attr] = NaN; }, attr); 70 assert_throws(new TypeError, function() { timing[attr] = NaN; }, attr);
71 assert_throws(new TypeError, function() { timing[attr] = Infinity; }, attr); 71 assert_throws(new TypeError, function() { timing[attr] = Infinity; }, attr);
72 } 72 }
73 }, 'Restricted double attributes on the AnimationEffectTiming interface throws f or non-finite values.'); 73 }, 'Restricted double attributes on the AnimationEffectTiming interface throws f or non-finite values.');
74 74
75 </script> 75 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698