Title: [285626] trunk/Source/WebCore
- Revision
- 285626
- Author
- [email protected]
- Date
- 2021-11-11 06:54:06 -0800 (Thu, 11 Nov 2021)
Log Message
[LFC][IFC] Add support for missing inline item types in buildBidiParagraph
https://bugs.webkit.org/show_bug.cgi?id=232964
Reviewed by Antti Koivisto.
* layout/formattingContexts/inline/InlineItemsBuilder.cpp:
(WebCore::Layout::buildBidiParagraph):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (285625 => 285626)
--- trunk/Source/WebCore/ChangeLog 2021-11-11 14:32:47 UTC (rev 285625)
+++ trunk/Source/WebCore/ChangeLog 2021-11-11 14:54:06 UTC (rev 285626)
@@ -1,3 +1,13 @@
+2021-11-11 Alan Bujtas <[email protected]>
+
+ [LFC][IFC] Add support for missing inline item types in buildBidiParagraph
+ https://bugs.webkit.org/show_bug.cgi?id=232964
+
+ Reviewed by Antti Koivisto.
+
+ * layout/formattingContexts/inline/InlineItemsBuilder.cpp:
+ (WebCore::Layout::buildBidiParagraph):
+
2021-11-11 Antti Koivisto <[email protected]>
[CSS Cascade Layers] Support 'revert-layer' value
Modified: trunk/Source/WebCore/layout/formattingContexts/inline/InlineItemsBuilder.cpp (285625 => 285626)
--- trunk/Source/WebCore/layout/formattingContexts/inline/InlineItemsBuilder.cpp 2021-11-11 14:32:47 UTC (rev 285625)
+++ trunk/Source/WebCore/layout/formattingContexts/inline/InlineItemsBuilder.cpp 2021-11-11 14:54:06 UTC (rev 285626)
@@ -232,6 +232,12 @@
default:
ASSERT_NOT_REACHED();
}
+ } else if (inlineItem.isLineBreak()) {
+ inlineItemOffsetList.uncheckedAppend({ paragraphContentBuilder.length() });
+ paragraphContentBuilder.append(newlineCharacter);
+ } else if (inlineItem.isWordBreakOpportunity()) {
+ // Soft wrap opportunity markers are opaque to bidi.
+ inlineItemOffsetList.uncheckedAppend({ });
} else
ASSERT_NOT_IMPLEMENTED_YET();
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes