mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
Revert "LibWeb: Cache intrinsic sizes across layout runs"
This reverts commit 12c6ac78e2.
Very large performance regression when viewing GitHub repository pages.
This commit is contained in:
Notes:
github-actions[bot]
2025-03-08 11:10:16 +00:00
Author: https://github.com/awesomekling Commit: https://github.com/LadybirdBrowser/ladybird/commit/73a4b176cf1
@@ -168,7 +168,7 @@ void SVGImageElement::fetch_the_document(URL::URL const& url)
|
||||
m_animation_timer->start();
|
||||
}
|
||||
set_needs_style_update(true);
|
||||
set_needs_layout_update(DOM::SetNeedsLayoutReason::SVGImageElementFetchTheDocument);
|
||||
document().set_needs_layout(DOM::SetNeedsLayoutReason::SVGImageElementFetchTheDocument);
|
||||
|
||||
dispatch_event(DOM::Event::create(realm(), HTML::EventNames::load));
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user