Files
ladybird/Libraries/LibWeb/DOM/ShadowRoot.cpp
Jelle Raaijmakers a6499b621e LibWeb: Restrict ShadowRoot layout update to node when setting innerHTML
We were invalidating the entire document's layout tree when a shadow
root's innerHTML was updated, but we already support more granular
layout updates for shadow roots - so make sure to only invalidate the
node's layout.

Reduces the time needed to obtain a layout and painting tree for
https://pomax.github.io/bezierinfo/ by 21% on my machine.
2026-04-30 21:26:25 +02:00

14 KiB