The details are in:
https://bugzilla.mozilla.org/show_bug.cgi?id=1135960

In the gaia email app, we have come across a case where a clientHeight
check in a function leads to synchronous notification of a transitionend
listener, which then leads to the same function being called and completed
while the first call to the function is still paused on the clientHeight.

Since that function is setting some state on an object, it causes some
problems.

If this is expected behavior given spec definitions, it would be
educational to learn more about that, as it does not immediately match my
very possibly naive expectations on how events are triggered from DOM state
changes. I was under the impression the transitionend listener
notifications would have happened during a different turn in the event loop.

James
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to