mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-06 23:37:31 +09:00
Bug 1202333: AnimationEvent elapsedTime should reflect playbackRate (added tests)
Issue #55
This commit is contained in:
parent
901d2a277f
commit
2243f5248c
10 changed files with 469 additions and 24 deletions
|
|
@ -1194,9 +1194,6 @@ advance_clock(0); // complete pending animation start
|
|||
is_approx(px_to_num(cs.marginRight), 100 * gTF.ease_in(0.4), 0.01,
|
||||
"large negative delay test at 0ms");
|
||||
check_events([{ type: 'animationstart', target: div,
|
||||
animationName: 'anim2', elapsedTime: 3.6,
|
||||
pseudoElement: "" },
|
||||
{ type: 'animationiteration', target: div,
|
||||
animationName: 'anim2', elapsedTime: 3.6,
|
||||
pseudoElement: "" }],
|
||||
"right after start in large negative delay test");
|
||||
|
|
|
|||
|
|
@ -1407,9 +1407,6 @@ addAsyncAnimTest(function *() {
|
|||
omta_is_approx("opacity", gTF.ease_in(0.4), 0.01, RunningOn.Compositor,
|
||||
"large negative delay test at 0ms");
|
||||
check_events([{ type: 'animationstart', target: gDiv,
|
||||
animationName: 'anim2', elapsedTime: 3.6,
|
||||
pseudoElement: "" },
|
||||
{ type: 'animationiteration', target: gDiv,
|
||||
animationName: 'anim2', elapsedTime: 3.6,
|
||||
pseudoElement: "" }],
|
||||
"right after start in large negative delay test");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue