mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-11 01:22:12 +02:00
DOM nodes that didn't have a layout node before being removed from the DOM are not going to change the shape of the layout tree after being removed. Observing this, we can avoid a full layout tree rebuild on some DOM node removals. This avoids a bunch of tree building work when loading https://x.com/ (cherry picked from commit 6f34758947852abae773798ba3ffa8e903fdc3d0)
100 KiB
100 KiB