You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
requestAnimationFrame seems to break CSS transitions #12749
I have created a following test case that you can try as servo -w https://Gozala.jsbin.com/vujonov
When "Request animation frames" is checked animation css transition is not performed, instead just last frame is drawn when transition is complete. If it is unchecked transitions are performed as expected. Checkbox just toggles requestAnimationFrame loop that seems to cause a bug in CSS transitions.
P.S.: It does not seems to matter if we do anything on animation frames or not.
The problem is that the constellation doesn't send TickAnimations messages to layout if there's a requestAnimationFrame loop. I don't know how easy/hard to fix this is yet.
Activity
Gozala commentedon Aug 5, 2016
/cc @emilio
emilio commentedon Aug 5, 2016
The problem is that the constellation doesn't send
TickAnimationsmessages to layout if there's arequestAnimationFrameloop. I don't know how easy/hard to fix this is yet.compositor: Send animation ticks to layout even if there are script a…
Auto merge of #12751 - emilio:transitions-raf, r=<try>
Add test for servo#12749
Add test for servo#12749
Add test for servo#12749
Auto merge of #12751 - emilio:transitions-raf, r=pcwalton