Title: [285523] trunk/Source/WebCore
Revision
285523
Author
[email protected]
Date
2021-11-09 12:44:17 -0800 (Tue, 09 Nov 2021)

Log Message

[LFC][IFC] Horizontal constraint change should not purge the inline item cache.
https://bugs.webkit.org/show_bug.cgi?id=232892

Reviewed by Antti Koivisto.

Available horizontal space change does not affect the inline content itself (it only affects the geometry of said content).

* layout/formattingContexts/inline/invalidation/InlineInvalidation.cpp:
(WebCore::Layout::InlineInvalidation::horizontalConstraintChanged):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (285522 => 285523)


--- trunk/Source/WebCore/ChangeLog	2021-11-09 20:25:57 UTC (rev 285522)
+++ trunk/Source/WebCore/ChangeLog	2021-11-09 20:44:17 UTC (rev 285523)
@@ -1,3 +1,15 @@
+2021-11-09  Alan Bujtas  <[email protected]>
+
+        [LFC][IFC] Horizontal constraint change should not purge the inline item cache.
+        https://bugs.webkit.org/show_bug.cgi?id=232892
+
+        Reviewed by Antti Koivisto.
+
+        Available horizontal space change does not affect the inline content itself (it only affects the geometry of said content).
+
+        * layout/formattingContexts/inline/invalidation/InlineInvalidation.cpp:
+        (WebCore::Layout::InlineInvalidation::horizontalConstraintChanged):
+
 2021-11-09  Devin Rousso  <[email protected]>
 
         REGRESSION(r271735): PaymentShippingOption.selected ignored

Modified: trunk/Source/WebCore/layout/formattingContexts/inline/invalidation/InlineInvalidation.cpp (285522 => 285523)


--- trunk/Source/WebCore/layout/formattingContexts/inline/invalidation/InlineInvalidation.cpp	2021-11-09 20:25:57 UTC (rev 285522)
+++ trunk/Source/WebCore/layout/formattingContexts/inline/invalidation/InlineInvalidation.cpp	2021-11-09 20:44:17 UTC (rev 285523)
@@ -80,7 +80,7 @@
 
 void InlineInvalidation::horizontalConstraintChanged()
 {
-    m_inlineDamage.setDamageType(InlineDamage::Type::NeedsContentUpdateAndLineLayout);
+    m_inlineDamage.setDamageType(InlineDamage::Type::NeedsLineLayout);
 }
 
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to