diff options
author | Emilio Cobos Álvarez <ecoal95@gmail.com> | 2016-08-05 13:38:58 -0700 |
---|---|---|
committer | Emilio Cobos Álvarez <ecoal95@gmail.com> | 2016-08-05 13:44:38 -0700 |
commit | 805988e839217ccea19e9bdec86462cd8739bf14 (patch) | |
tree | 2deba134e1918fad7dda8cc6b342f012bf065209 /components/script/dom/bindings/codegen | |
parent | fc4fc773b4c62fb1b63f7f9aabea9fa44283e6ad (diff) | |
download | servo-805988e839217ccea19e9bdec86462cd8739bf14.tar.gz servo-805988e839217ccea19e9bdec86462cd8739bf14.zip |
compositor: Send animation ticks to layout even if there are script animation frames.
The script tick ends up only processing JS callbacks related to animation
frames, so CSS transitions/animations end up not working as expected.
This could have accidentally worked before #12563 because we over-restyled, but
now this is no longer the case.
Other possible way to do it is making a layout reflow with RAF handle CSS
animations/transitions too, but that may not work if the reflow ends up being
suppressed (that could very well be the case), and we'd need to handle a lot
more state in the document, so this solution (assuming it doesn't break try)
seems a bit less flacky.
Fixes #12749.
Diffstat (limited to 'components/script/dom/bindings/codegen')
0 files changed, 0 insertions, 0 deletions