Bug 232552

Summary: [LFC][IFC] Start using ubidi to find bidi boundaries
Product: WebKit Reporter: zalan <zalan>
Component: Layout and RenderingAssignee: zalan <zalan>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, koivisto, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Description zalan 2021-10-31 21:16:07 PDT
ssia
Comment 1 zalan 2021-10-31 21:33:43 PDT
Created attachment 442953 [details]
Patch
Comment 2 Antti Koivisto 2021-10-31 23:03:57 PDT
Comment on attachment 442953 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=442953&action=review

> Source/WebCore/layout/formattingContexts/inline/InlineItemsBuilder.cpp:136
> +void InlineItemsBuilder::breakInlineItemsAtBidiBoundaries(InlineItems& inlineItems)

breakAndComputeBidiLevels() or something? (InlineItems is bit redundant since we are in InlineItemBuilder).
Comment 3 Antti Koivisto 2021-11-01 09:24:25 PDT
Comment on attachment 442953 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=442953&action=review

> Source/WebCore/layout/formattingContexts/inline/InlineItemsBuilder.cpp:156
> +        ubidi_close(ubidi);

could use ScopeExit for safe closing.
Comment 4 zalan 2021-11-01 10:19:51 PDT
Created attachment 442988 [details]
Patch
Comment 5 EWS 2021-11-01 12:22:27 PDT
Committed r285119 (243760@main): <https://commits.webkit.org/243760@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 442988 [details].
Comment 6 Radar WebKit Bug Importer 2021-11-01 12:23:50 PDT
<rdar://problem/84893664>