Browser internals·Intermediate·Conceptual·1 min read
Do transform and opacity always avoid paint?
Short interview answer
They can often be handled during compositing when the element has an appropriate layer, avoiding layout and much paint. Layer promotion is an implementation decision, and excessive layers consume memory, so measure rather than applying will-change broadly.
Key takeaway
Explain the underlying mental model clearly, then support it with a concrete example and its trade-offs.