mirror of
https://github.com/servo/servo.git
synced 2025-08-07 22:45:34 +01:00
Update web-platform-tests to revision f7e2ea2c50c4d23549d07cd24c7a96fc3f203d96
This commit is contained in:
parent
4b1bb895a3
commit
33357a82e4
175 changed files with 1667 additions and 4935 deletions
|
@ -42,9 +42,9 @@ promise_test(async t => {
|
|||
const animA = div.animate({margin: ["100px","100px"]}, 100000);
|
||||
assert_equals(getComputedStyle(div).marginLeft, '100px');
|
||||
div.style.animation = 'margin50 100s';
|
||||
assert_equals(getComputedStyle(div).marginLeft, '50px');
|
||||
// Wait for animation starts
|
||||
await waitForAnimationFrames(2);
|
||||
await animA.ready;
|
||||
await waitForAnimationFrames(1);
|
||||
assert_equals(getComputedStyle(div).marginLeft, '100px',
|
||||
"A higher-priority animation is not overriden by a more recent"
|
||||
+ "one.");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue