LibWeb: Don't relayout whenever a CSS transform changes

Transforms are a paint-level concept for us, so we should be okay to
only update the stacking context tree and repaint.

This makes a lot of CSS animations use way less CPU.
This commit is contained in:
Andreas Kling 2023-07-27 09:54:45 +02:00
parent 9a90bf7d12
commit 9caa0bda7d
Notes: sideshowbarker 2024-07-16 20:12:13 +09:00

View file

@ -1978,6 +1978,7 @@
"transform": {
"inherited": false,
"initial": "none",
"affects-layout": false,
"affects-stacking-context": true
},
"transform-origin": {