mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision b'1393983442315fc6a96bacda5202036ca10327e3'
This commit is contained in:
parent
37f26f5250
commit
e8bd8b22fa
300 changed files with 3487 additions and 1857 deletions
|
@ -64,26 +64,6 @@ test(function(t) {
|
|||
assert_style_left_at(anim, 1000, 0.00);
|
||||
}, 'linear function easing with output less than 1');
|
||||
|
||||
test(function(t) {
|
||||
var anim = create_animated_div(t, 'linear()');
|
||||
var equiv = create_animated_div(t, 'linear');
|
||||
|
||||
assert_animations_equal_at(anim, equiv, 0);
|
||||
assert_animations_equal_at(anim, equiv, 250);
|
||||
assert_animations_equal_at(anim, equiv, 750);
|
||||
assert_animations_equal_at(anim, equiv, 1000);
|
||||
}, 'linear function easing, linear equivalent');
|
||||
|
||||
test(function(t) {
|
||||
var anim = create_animated_div(t, 'linear(0.5)');
|
||||
|
||||
assert_style_left_at(anim, 0, 0.5);
|
||||
assert_style_left_at(anim, 250, 0.5);
|
||||
assert_style_left_at(anim, 500, 0.5);
|
||||
assert_style_left_at(anim, 750, 0.5);
|
||||
assert_style_left_at(anim, 1000, 0.5);
|
||||
}, 'linear function easing, constant');
|
||||
|
||||
test(function(t) {
|
||||
var anim = create_animated_div(t, 'linear(0.2 0% 20%, 0.4 20% 40%, 0.6 40% 60%, 0.8 60% 80%, 1.0 80% 100%)');
|
||||
var equiv = create_animated_div(t, 'steps(5, jump-start)');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue