Title: [272223] trunk/Source/WebCore
Revision
272223
Author
[email protected]
Date
2021-02-02 10:56:10 -0800 (Tue, 02 Feb 2021)

Log Message

[LFC][Integration] Disable inline-box content with non-initial line-box-contain values
https://bugs.webkit.org/show_bug.cgi?id=221270

Reviewed by Antti Koivisto.

Not supported yet.

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

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (272222 => 272223)


--- trunk/Source/WebCore/ChangeLog	2021-02-02 18:43:27 UTC (rev 272222)
+++ trunk/Source/WebCore/ChangeLog	2021-02-02 18:56:10 UTC (rev 272223)
@@ -1,3 +1,15 @@
+2021-02-02  Zalan Bujtas  <[email protected]>
+
+        [LFC][Integration] Disable inline-box content with non-initial line-box-contain values
+        https://bugs.webkit.org/show_bug.cgi?id=221270
+
+        Reviewed by Antti Koivisto.
+
+        Not supported yet.
+
+        * layout/integration/LayoutIntegrationCoverage.cpp:
+        (WebCore::LayoutIntegration::canUseForChild):
+
 2021-02-02  Yusuke Suzuki  <[email protected]>
 
         WebAssembly: add support for stream APIs - _javascript_ API: Implement loading for the Blob type

Modified: trunk/Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp (272222 => 272223)


--- trunk/Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp	2021-02-02 18:43:27 UTC (rev 272222)
+++ trunk/Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp	2021-02-02 18:56:10 UTC (rev 272223)
@@ -667,6 +667,8 @@
             SET_REASON_AND_RETURN_IF_NEEDED(FlowHasNonSupportedChild, reasons, includeReasons);
         if (renderInline.isInFlowPositioned())
             SET_REASON_AND_RETURN_IF_NEEDED(FlowHasNonSupportedChild, reasons, includeReasons);
+        if (renderInline.containingBlock()->style().lineBoxContain() != RenderStyle::initialLineBoxContain())
+            SET_REASON_AND_RETURN_IF_NEEDED(FlowHasNonSupportedChild, reasons, includeReasons);
         auto fontAndTextReasons = canUseForFontAndText(downcast<RenderInline>(child), includeReasons);
         if (fontAndTextReasons)
             ADD_REASONS_AND_RETURN_IF_NEEDED(fontAndTextReasons, reasons, includeReasons);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to