mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-12 11:09:18 +00:00
LibWeb: Don't drop entire layout tree on object element update
It's sufficient to just rebuild the layout subtree rooted at the object element itself.
This commit is contained in:
parent
a6836054cc
commit
dc83f3375c
Notes:
github-actions[bot]
2025-03-25 07:32:42 +00:00
Author: https://github.com/awesomekling
Commit: dc83f3375c
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4079
Reviewed-by: https://github.com/gmta ✅
2 changed files with 1 additions and 2 deletions
|
@ -53,7 +53,6 @@ enum class QuirksMode {
|
|||
#define ENUMERATE_INVALIDATE_LAYOUT_TREE_REASONS(X) \
|
||||
X(DocumentAddAnElementToTheTopLayer) \
|
||||
X(DocumentRequestAnElementToBeRemovedFromTheTopLayer) \
|
||||
X(HTMLObjectElement) \
|
||||
X(ShadowRootSetInnerHTML)
|
||||
|
||||
enum class InvalidateLayoutTreeReason {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue