Does anyone know if `contain` can increase paint performance of a webpage meaningfully? It seems like it can prevent unnecessary calls, but I'm wondering if there's any reasonable impact it gives.
A quick way to validate that is to open up the devtools and run a performance trace. Watch for paint events vs JS code execution and such.