Title: [252462] trunk/Source/WebCore
- Revision
- 252462
- Author
- [email protected]
- Date
- 2019-11-14 12:32:38 -0800 (Thu, 14 Nov 2019)
Log Message
[LFC][Invalidation] Skip non-dirty out-of-flow boxes.
https://bugs.webkit.org/show_bug.cgi?id=204196
Reviewed by Antti Koivisto.
Use the InvalidationState to decide whether the current out-of-flow box needs layout.
* layout/FormattingContext.cpp:
(WebCore::Layout::FormattingContext::layoutOutOfFlowContent):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (252461 => 252462)
--- trunk/Source/WebCore/ChangeLog 2019-11-14 20:16:44 UTC (rev 252461)
+++ trunk/Source/WebCore/ChangeLog 2019-11-14 20:32:38 UTC (rev 252462)
@@ -1,3 +1,15 @@
+2019-11-14 Zalan Bujtas <[email protected]>
+
+ [LFC][Invalidation] Skip non-dirty out-of-flow boxes.
+ https://bugs.webkit.org/show_bug.cgi?id=204196
+
+ Reviewed by Antti Koivisto.
+
+ Use the InvalidationState to decide whether the current out-of-flow box needs layout.
+
+ * layout/FormattingContext.cpp:
+ (WebCore::Layout::FormattingContext::layoutOutOfFlowContent):
+
2019-11-14 Antoine Quint <[email protected]>
[Web Animations] Accelerated transitions do not always remove their backing accelerated animation
Modified: trunk/Source/WebCore/layout/FormattingContext.cpp (252461 => 252462)
--- trunk/Source/WebCore/layout/FormattingContext.cpp 2019-11-14 20:16:44 UTC (rev 252461)
+++ trunk/Source/WebCore/layout/FormattingContext.cpp 2019-11-14 20:32:38 UTC (rev 252462)
@@ -30,6 +30,7 @@
#include "DisplayBox.h"
#include "FormattingState.h"
+#include "InvalidationState.h"
#include "LayoutBox.h"
#include "LayoutContainer.h"
#include "LayoutContext.h"
@@ -155,6 +156,8 @@
for (auto& outOfFlowBox : formattingState().outOfFlowBoxes()) {
ASSERT(outOfFlowBox->establishesFormattingContext());
+ if (!invalidationState.needsLayout(*outOfFlowBox))
+ continue;
computeBorderAndPadding(*outOfFlowBox);
computeOutOfFlowHorizontalGeometry(*outOfFlowBox);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes