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?

Explanation

This works only for compositor-only properties on promoted layers. Animations that need layout or paint stall with the main thread.

Further reading

Problem with a question

Browser & Web Performance · Senior · question 9

Test yourself

Take the Browser & Web Performance · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz