Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IFC] Inappropriate word order in the Arabic-English dictionary
https://bugs.webkit.org/show_bug.cgi?id=265332 <rdar://99087118> Reviewed by Antti Koivisto. Inline box start/end markers with non-default unicode-bidi values do not participate in bidi reordering (they don't inject control characters to initiate isolation/embedding). We also set their bidi levels to opaque to ensue ICU does not get confused while running reordering. However inline box start/end makers with injected control characters (e.g. <span style="unicode-bidi: isolate">isolated</span) should keep their ICU assigned bidi level values for reordering. * LayoutTests/fast/text/bidi-content-with-normal-inline-box-mispositioned-expected.html: Added. * LayoutTests/fast/text/bidi-content-with-normal-inline-box-mispositioned.html: Added. * Source/WebCore/layout/formattingContexts/inline/InlineItemsBuilder.cpp: (WebCore::Layout::buildBidiParagraph): Canonical link: https://commits.webkit.org/271112@main
- Loading branch information