RESOLVED FIXED 232772
[LFC][IFC] Process all replacement, control and opaque inline items.
https://bugs.webkit.org/show_bug.cgi?id=232772
Summary [LFC][IFC] Process all replacement, control and opaque inline items.
zalan
Reported 2021-11-05 15:48:48 PDT
generate bidi level for all the inline items.
Attachments
Patch (12.33 KB, patch)
2021-11-05 15:54 PDT, zalan
no flags
Patch (12.56 KB, patch)
2021-11-05 21:42 PDT, zalan
no flags
Patch (12.67 KB, patch)
2021-11-06 09:58 PDT, zalan
no flags
zalan
Comment 1 2021-11-05 15:54:26 PDT
zalan
Comment 2 2021-11-05 21:42:55 PDT
Antti Koivisto
Comment 3 2021-11-06 06:35:44 PDT
Comment on attachment 443476 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=443476&action=review > Source/WebCore/layout/formattingContexts/inline/InlineItemsBuilder.cpp:147 > + size_t inlineTextBoxOffset = 0; > + for (size_t index = 0; index < inlineItems.size(); ++index) { Could we reserverInitialCapacity() for InlineItemOffsetList and then use uncheckedAppend?
zalan
Comment 4 2021-11-06 06:42:24 PDT
(In reply to Antti Koivisto from comment #3) > Comment on attachment 443476 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=443476&action=review > > > Source/WebCore/layout/formattingContexts/inline/InlineItemsBuilder.cpp:147 > > + size_t inlineTextBoxOffset = 0; > > + for (size_t index = 0; index < inlineItems.size(); ++index) { > > Could we reserverInitialCapacity() for InlineItemOffsetList and then use > uncheckedAppend? Good point! Will do.
zalan
Comment 5 2021-11-06 09:58:38 PDT
EWS
Comment 6 2021-11-06 12:41:26 PDT
Committed r285374 (243931@main): <https://commits.webkit.org/243931@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 443487 [details].
Radar WebKit Bug Importer
Comment 7 2021-11-06 12:42:17 PDT
Note You need to log in before you can comment on or make changes to this bug.