LibWeb: Don't drop entire layout tree for SVG element transform changes

A partial update is enough here and avoids a lot of work.

Dramatically reduces time spent on relayouts on https://duolingo.com/
This commit is contained in:
Andreas Kling 2025-03-24 23:05:02 +00:00 committed by Jelle Raaijmakers
commit 305a5ad30b
Notes: github-actions[bot] 2025-03-25 07:32:56 +00:00
2 changed files with 1 additions and 3 deletions

View file

@ -55,7 +55,6 @@ enum class QuirksMode {
X(DocumentRequestAnElementToBeRemovedFromTheTopLayer) \
X(HTMLInputElementSrcAttributeChange) \
X(HTMLObjectElement) \
X(SVGGraphicsElementTransformAttributeChange) \
X(ShadowRootSetInnerHTML)
enum class InvalidateLayoutTreeReason {