mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 08:18:41 +09:00
Revert - Bug 1324985: Disable firing the transitionrun and transitionstart on Aurora 52
Issue #55
This commit is contained in:
parent
a89e7c6858
commit
e30e72ff31
5 changed files with 111 additions and 25 deletions
|
|
@ -90,14 +90,22 @@ targets.forEach(div => { div.remove(); });
|
|||
|
||||
// 2. Test CSS Transition event handlers.
|
||||
|
||||
var targets = createAndRegisterTargets([ 'ontransitionend' ]);
|
||||
var targets = createAndRegisterTargets([ 'ontransitionrun',
|
||||
'ontransitionstart',
|
||||
'ontransitionend' ]);
|
||||
targets.forEach(div => {
|
||||
div.style.transition = 'margin-left 100ms';
|
||||
div.style.transition = 'margin-left 100ms 200ms';
|
||||
getComputedStyle(div).marginLeft; // flush
|
||||
div.style.marginLeft = "200px";
|
||||
getComputedStyle(div).marginLeft; // flush
|
||||
});
|
||||
|
||||
advance_clock(0);
|
||||
checkReceivedEvents("transitionrun", targets);
|
||||
|
||||
advance_clock(200);
|
||||
checkReceivedEvents("transitionstart", targets);
|
||||
|
||||
advance_clock(100);
|
||||
checkReceivedEvents("transitionend", targets);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue