Perfect example of how doubling down on paint/compositor hurts the Web https://developers.google.com/web/updates/2017/03/performant-expand-and-collapse … — why do we put devs through so much pain?
For example, it should be sufficient to set a fixed width for the content to prevent relayout of the inside during animation.
-
-
That's replacing one trick with another. Clip-path is the sensible choice if you want to change the rendered portion without changing layout
-
I think if you were to ask average Web developers (not perf geeks) how to write such a thing, they’d reach for width before clip path.
- 4 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.