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?
If the problem is “don’t lay out the interior during an animation”, then devs should directly request that. Not drop into linear algebra.
-
-
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
- 5 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.