Revert - Bug 1324985: Disable firing the transitionrun and transitionstart on Aurora 52

Issue #55
This commit is contained in:
janekptacijarabaci 2018-03-14 09:04:22 +01:00 committed by Roy Tam
commit e30e72ff31
5 changed files with 111 additions and 25 deletions

View file

@ -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);