summaryrefslogtreecommitdiffstats
path: root/layout/style/test/test_animations_event_handler_attribute.html
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-03-14 09:04:22 +0100
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-03-14 09:04:22 +0100
commit3a9cafda4dcbf860862347241515e730707f3581 (patch)
treeccce843e1df9c1d1ba8bf12a03397739888674f0 /layout/style/test/test_animations_event_handler_attribute.html
parentcf4482199c5b92c5029b79c086cf9f831a87f895 (diff)
downloadUXP-3a9cafda4dcbf860862347241515e730707f3581.tar
UXP-3a9cafda4dcbf860862347241515e730707f3581.tar.gz
UXP-3a9cafda4dcbf860862347241515e730707f3581.tar.lz
UXP-3a9cafda4dcbf860862347241515e730707f3581.tar.xz
UXP-3a9cafda4dcbf860862347241515e730707f3581.zip
Revert - Bug 1324985: Disable firing the transitionrun and transitionstart on Aurora 52
Issue #55
Diffstat (limited to 'layout/style/test/test_animations_event_handler_attribute.html')
-rw-r--r--layout/style/test/test_animations_event_handler_attribute.html12
1 files changed, 10 insertions, 2 deletions
diff --git a/layout/style/test/test_animations_event_handler_attribute.html b/layout/style/test/test_animations_event_handler_attribute.html
index e5def2b34..23a749daa 100644
--- a/layout/style/test/test_animations_event_handler_attribute.html
+++ b/layout/style/test/test_animations_event_handler_attribute.html
@@ -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);