Title: [269627] trunk/Source/WebCore
Revision
269627
Author
[email protected]
Date
2020-11-10 06:59:17 -0800 (Tue, 10 Nov 2020)

Log Message

[LFC][Integration] Allow object-fit
https://bugs.webkit.org/show_bug.cgi?id=218740

Reviewed by Zalan Bujtas.

* layout/integration/LayoutIntegrationCoverage.cpp:
(WebCore::LayoutIntegration::canUseForChild):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (269626 => 269627)


--- trunk/Source/WebCore/ChangeLog	2020-11-10 14:58:51 UTC (rev 269626)
+++ trunk/Source/WebCore/ChangeLog	2020-11-10 14:59:17 UTC (rev 269627)
@@ -1,3 +1,13 @@
+2020-11-10  Antti Koivisto  <[email protected]>
+
+        [LFC][Integration] Allow object-fit
+        https://bugs.webkit.org/show_bug.cgi?id=218740
+
+        Reviewed by Zalan Bujtas.
+
+        * layout/integration/LayoutIntegrationCoverage.cpp:
+        (WebCore::LayoutIntegration::canUseForChild):
+
 2020-11-10  Antoine Quint  <[email protected]>
 
         align-self should be a discrete animatable property

Modified: trunk/Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp (269626 => 269627)


--- trunk/Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp	2020-11-10 14:58:51 UTC (rev 269626)
+++ trunk/Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp	2020-11-10 14:59:17 UTC (rev 269627)
@@ -276,8 +276,6 @@
             SET_REASON_AND_RETURN_IF_NEEDED(FlowHasNonSupportedChild, reasons, includeReasons);
         if (style.width().isPercent() || style.height().isPercent())
             SET_REASON_AND_RETURN_IF_NEEDED(FlowHasNonSupportedChild, reasons, includeReasons);
-        if (style.objectFit() != RenderStyle::initialObjectFit())
-            SET_REASON_AND_RETURN_IF_NEEDED(FlowHasNonSupportedChild, reasons, includeReasons);
 
         if (is<RenderImage>(replaced)) {
             auto& image = downcast<RenderImage>(replaced);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to