Browser & Web Performance · Senior · Question 9 of 75
Why can a transform animation stay smooth even when the main thread is blocked by a long task?
- 1Transforms are computed on the network thread
- 2Browsers pause long tasks during animations
- ✓Correct answer: The compositor thread can move an already rasterized layer without the main thread
Explanation
This works only for compositor-only properties on promoted layers. Animations that need layout or paint stall with the main thread.