mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update web-platform-tests to revision 332b7c4e711d75ead4c0dfbf7f6f0b683206756d
This commit is contained in:
parent
46611b012e
commit
b60afa18f5
389 changed files with 7767 additions and 2421 deletions
|
@ -162,10 +162,21 @@ test(t => {
|
|||
div.style.marginLeft = '10px';
|
||||
|
||||
const effect = div.getAnimations()[0].effect;
|
||||
assert_equals(effect.getComputedTiming().easing, 'linear',
|
||||
assert_equals(effect.getComputedTiming().easing, 'ease',
|
||||
'Initial value of easing');
|
||||
}, 'easing of a new transition');
|
||||
|
||||
test(t => {
|
||||
const div = addDiv(t, { class: 'animated-div' });
|
||||
div.style.transition = 'margin-left 10s steps(4)';
|
||||
getComputedStyle(div).marginLeft;
|
||||
div.style.marginLeft = '10px';
|
||||
|
||||
const effect = div.getAnimations()[0].effect;
|
||||
assert_equals(effect.getComputedTiming().easing, 'steps(4)',
|
||||
'Initial value of easing');
|
||||
}, 'non-default easing of a new transition');
|
||||
|
||||
|
||||
// ------------------------------
|
||||
// endTime
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue