mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-29 04:37:55 +00:00
Instead of traversing the entire DOM subtrees and marking nodes for style update, this patch adds a new mechanism where we can mark a subtree root as "entire subtree needs style update". A new pass in Document::update_style() then takes care of coalescing all these invalidations in a single traversal of the DOM. This shaves *minutes* of loading time off of https://wpt.fyi/ subpages.
130 KiB
130 KiB