mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
Previously, any change to a property that affects stacking context would trigger a full stacking context tree rebuild. However, an element only creates or destroys a stacking context when a property crosses from its "neutral" value to a "creating" value (or vice versa). For example, animating `transform: translateX(10px)` to `transform: translateX(20px)` previously triggered stacking context rebuilds on every frame, but this is unnecessary because the stacking context already exists.
6.2 KiB
6.2 KiB