Title: [253152] trunk/Source/WebCore
Revision
253152
Author
[email protected]
Date
2019-12-05 09:26:51 -0800 (Thu, 05 Dec 2019)

Log Message

[LFC][Integration] Disable LFC when floats are present for now
https://bugs.webkit.org/show_bug.cgi?id=204892

Reviewed by Zalan Bujtas.

Diasable until we start synthesizing the required structures.

* layout/integration/LayoutIntegrationLineLayout.cpp:
(WebCore::LayoutIntegration::LineLayout::canUseFor):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (253151 => 253152)


--- trunk/Source/WebCore/ChangeLog	2019-12-05 17:11:19 UTC (rev 253151)
+++ trunk/Source/WebCore/ChangeLog	2019-12-05 17:26:51 UTC (rev 253152)
@@ -1,5 +1,17 @@
 2019-12-05  Antti Koivisto  <[email protected]>
 
+        [LFC][Integration] Disable LFC when floats are present for now
+        https://bugs.webkit.org/show_bug.cgi?id=204892
+
+        Reviewed by Zalan Bujtas.
+
+        Diasable until we start synthesizing the required structures.
+
+        * layout/integration/LayoutIntegrationLineLayout.cpp:
+        (WebCore::LayoutIntegration::LineLayout::canUseFor):
+
+2019-12-05  Antti Koivisto  <[email protected]>
+
         [LFC][IFC] Many render tree dump tests show 1px too narrow runs
         https://bugs.webkit.org/show_bug.cgi?id=204885
 

Modified: trunk/Source/WebCore/layout/integration/LayoutIntegrationLineLayout.cpp (253151 => 253152)


--- trunk/Source/WebCore/layout/integration/LayoutIntegrationLineLayout.cpp	2019-12-05 17:11:19 UTC (rev 253151)
+++ trunk/Source/WebCore/layout/integration/LayoutIntegrationLineLayout.cpp	2019-12-05 17:26:51 UTC (rev 253152)
@@ -64,6 +64,9 @@
     if (!SimpleLineLayout::canUseFor(flow))
         return false;
 
+    if (flow.containsFloats())
+        return false;
+
     if (flow.style().textTransform() == TextTransform::Capitalize)
         return false;
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to