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

Side by Side Diff: polymer_0.5.4/bower_components/web-animations-js/test/blink/resources/keyframes-test.js

Issue 895523005: Added Polymer 0.5.4 (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Created 5 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 (function(){ 1 (function(){
2 'use strict' 2 'use strict'
3 3
4 function createElement() { 4 function createElement() {
5 var element = document.createElement('div'); 5 var element = document.createElement('div');
6 element.style.position = 'absolute'; 6 element.style.position = 'absolute';
7 document.documentElement.appendChild(element); 7 document.documentElement.appendChild(element);
8 return element; 8 return element;
9 } 9 }
10 10
(...skipping 13 matching lines...) Expand all
24 var computedStyle = getComputedStyle(element); 24 var computedStyle = getComputedStyle(element);
25 for (var property in expectations[progress]) { 25 for (var property in expectations[progress]) {
26 assert_equals(computedStyle[property], expectations[progress][property], 26 assert_equals(computedStyle[property], expectations[progress][property],
27 property + ' at ' + (progress * 100) + '%' + (description ? ' ' + desc ription : '')); 27 property + ' at ' + (progress * 100) + '%' + (description ? ' ' + desc ription : ''));
28 } 28 }
29 } 29 }
30 } 30 }
31 31
32 window.assertAnimationStyles = assertAnimationStyles; 32 window.assertAnimationStyles = assertAnimationStyles;
33 })(); 33 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698