mirror of
https://github.com/servo/servo.git
synced 2025-08-07 22:45:34 +01:00
Update web-platform-tests to revision 697b971060b2d475a73c1c3755232a4674d61cf5
This commit is contained in:
parent
f60598909a
commit
b97474fbba
236 changed files with 4817 additions and 893 deletions
|
@ -15,11 +15,10 @@ test(function(t) {
|
|||
var div = createDiv(t);
|
||||
var anim = div.animate({ opacity: [ 0, 1 ] }, 2000);
|
||||
anim.effect.timing.duration = 123.45;
|
||||
assert_approx_equals(anim.effect.timing.duration, 123.45, 0.000001,
|
||||
'set duration 123.45');
|
||||
assert_approx_equals(anim.effect.getComputedTiming().duration, 123.45,
|
||||
0.000001,
|
||||
'getComputedTiming() after set duration 123.45');
|
||||
assert_times_equal(anim.effect.timing.duration, 123.45,
|
||||
'set duration 123.45');
|
||||
assert_times_equal(anim.effect.getComputedTiming().duration, 123.45,
|
||||
'getComputedTiming() after set duration 123.45');
|
||||
}, 'set duration 123.45');
|
||||
|
||||
test(function(t) {
|
||||
|
|
|
@ -15,11 +15,10 @@ test(function(t) {
|
|||
var div = createDiv(t);
|
||||
var anim = div.animate({ opacity: [ 0, 1 ] }, 2000);
|
||||
anim.effect.timing.endDelay = 123.45;
|
||||
assert_approx_equals(anim.effect.timing.endDelay, 123.45, 0.000001,
|
||||
'set endDelay 123.45');
|
||||
assert_approx_equals(anim.effect.getComputedTiming().endDelay, 123.45,
|
||||
0.000001,
|
||||
'getComputedTiming() after set endDelay 123.45');
|
||||
assert_times_equal(anim.effect.timing.endDelay, 123.45,
|
||||
'set endDelay 123.45');
|
||||
assert_times_equal(anim.effect.getComputedTiming().endDelay, 123.45,
|
||||
'getComputedTiming() after set endDelay 123.45');
|
||||
}, 'set endDelay 123.45');
|
||||
|
||||
test(function(t) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue