[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):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@253152 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog
index c92a3bc..3cf876b 100644
--- a/Source/WebCore/ChangeLog
+++ b/Source/WebCore/ChangeLog
@@ -1,5 +1,17 @@
2019-12-05 Antti Koivisto <antti@apple.com>
+ [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 <antti@apple.com>
+
[LFC][IFC] Many render tree dump tests show 1px too narrow runs
https://bugs.webkit.org/show_bug.cgi?id=204885
diff --git a/Source/WebCore/layout/integration/LayoutIntegrationLineLayout.cpp b/Source/WebCore/layout/integration/LayoutIntegrationLineLayout.cpp
index 80d65661..ab1adc7 100644
--- a/Source/WebCore/layout/integration/LayoutIntegrationLineLayout.cpp
+++ b/Source/WebCore/layout/integration/LayoutIntegrationLineLayout.cpp
@@ -64,6 +64,9 @@
if (!SimpleLineLayout::canUseFor(flow))
return false;
+ if (flow.containsFloats())
+ return false;
+
if (flow.style().textTransform() == TextTransform::Capitalize)
return false;