mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
LibWeb: Don't drop entire layout tree on input element src change
This commit is contained in:
committed by
Jelle Raaijmakers
parent
305a5ad30b
commit
a6836054cc
Notes:
github-actions[bot]
2025-03-25 07:32:50 +00:00
Author: https://github.com/awesomekling Commit: https://github.com/LadybirdBrowser/ladybird/commit/a6836054cc9 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4079 Reviewed-by: https://github.com/gmta ✅
@@ -1481,7 +1481,7 @@ WebIDL::ExceptionOr<void> HTMLInputElement::handle_src_attribute(String const& v
|
||||
});
|
||||
|
||||
m_load_event_delayer.clear();
|
||||
document().invalidate_layout_tree(DOM::InvalidateLayoutTreeReason::HTMLInputElementSrcAttributeChange);
|
||||
set_needs_layout_tree_update(true);
|
||||
},
|
||||
[this, &realm]() {
|
||||
// 2. Otherwise, if the fetching process fails without a response from the remote server, or completes but the
|
||||
|
||||
Reference in New Issue
Block a user