Title: [289447] trunk/Source/WebCore
Revision
289447
Author
[email protected]
Date
2022-02-08 16:19:18 -0800 (Tue, 08 Feb 2022)

Log Message

[LFC][IFC] Set LineBox::setBaselineType when the line is computed to be IdeographicBaseline
https://bugs.webkit.org/show_bug.cgi?id=236310

Reviewed by Antti Koivisto.

* layout/formattingContexts/inline/InlineLineBoxBuilder.cpp:
(WebCore::Layout::LineBoxBuilder::adjustIdeographicBaselineIfApplicable):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (289446 => 289447)


--- trunk/Source/WebCore/ChangeLog	2022-02-09 00:17:20 UTC (rev 289446)
+++ trunk/Source/WebCore/ChangeLog	2022-02-09 00:19:18 UTC (rev 289447)
@@ -1,3 +1,13 @@
+2022-02-08  Alan Bujtas  <[email protected]>
+
+        [LFC][IFC] Set LineBox::setBaselineType when the line is computed to be IdeographicBaseline
+        https://bugs.webkit.org/show_bug.cgi?id=236310
+
+        Reviewed by Antti Koivisto.
+
+        * layout/formattingContexts/inline/InlineLineBoxBuilder.cpp:
+        (WebCore::Layout::LineBoxBuilder::adjustIdeographicBaselineIfApplicable):
+
 2022-02-08  Rob Buis  <[email protected]>
 
         REGRESSION (15.4): Angular virtual scrollers no longer work (because of contain:strict)

Modified: trunk/Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp (289446 => 289447)


--- trunk/Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp	2022-02-09 00:17:20 UTC (rev 289446)
+++ trunk/Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp	2022-02-09 00:19:18 UTC (rev 289447)
@@ -373,6 +373,7 @@
     if (!lineNeedsIdeographicBaseline())
         return;
 
+    lineBox.setBaselineType(IdeographicBaseline);
     setBaselineAndLayoutBounds(rootInlineBox, layoutBoundsMetricsForInlineBox(rootInlineBox, IdeographicBaseline));
     for (auto& inlineLevelBox : lineBox.nonRootInlineLevelBoxes()) {
         if (inlineLevelBox.isInlineBox())
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to