Title: [254380] trunk/Source/WebCore
Revision
254380
Author
[email protected]
Date
2020-01-10 16:32:16 -0800 (Fri, 10 Jan 2020)

Log Message

[LFC] Add missing escape reason to BlockFormattingContext::Quirks::stretchedInFlowHeight
https://bugs.webkit.org/show_bug.cgi?id=206076
<rdar://problem/58483919>

Reviewed by Antti Koivisto.

This is also a valid formatting context escape.

* layout/blockformatting/BlockFormattingContextQuirks.cpp:
(WebCore::Layout::BlockFormattingContext::Quirks::stretchedInFlowHeight):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (254379 => 254380)


--- trunk/Source/WebCore/ChangeLog	2020-01-11 00:21:59 UTC (rev 254379)
+++ trunk/Source/WebCore/ChangeLog	2020-01-11 00:32:16 UTC (rev 254380)
@@ -1,3 +1,16 @@
+2020-01-10  Zalan Bujtas  <[email protected]>
+
+        [LFC] Add missing escape reason to BlockFormattingContext::Quirks::stretchedInFlowHeight
+        https://bugs.webkit.org/show_bug.cgi?id=206076
+        <rdar://problem/58483919>
+
+        Reviewed by Antti Koivisto.
+
+        This is also a valid formatting context escape.
+
+        * layout/blockformatting/BlockFormattingContextQuirks.cpp:
+        (WebCore::Layout::BlockFormattingContext::Quirks::stretchedInFlowHeight):
+
 2020-01-10  Antti Koivisto  <[email protected]>
 
         [LFC][Integration] Update style for layout boxes

Modified: trunk/Source/WebCore/layout/blockformatting/BlockFormattingContextQuirks.cpp (254379 => 254380)


--- trunk/Source/WebCore/layout/blockformatting/BlockFormattingContextQuirks.cpp	2020-01-11 00:21:59 UTC (rev 254379)
+++ trunk/Source/WebCore/layout/blockformatting/BlockFormattingContextQuirks.cpp	2020-01-11 00:32:16 UTC (rev 254380)
@@ -67,7 +67,7 @@
 
     auto& formattingContext = this->formattingContext();
     auto& documentBox = layoutBox.isDocumentBox() ? layoutBox : *layoutBox.parent();
-    auto& documentBoxGeometry = formattingContext.geometryForBox(documentBox);
+    auto& documentBoxGeometry = formattingContext.geometryForBox(documentBox, EscapeReason::BodyStrechesToViewportQuirk);
 
     auto& initialContainingBlockGeometry = formattingContext.geometryForBox(initialContainingBlock(layoutBox), EscapeReason::BodyStrechesToViewportQuirk);
     auto strechedHeight = initialContainingBlockGeometry.contentBoxHeight();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to