Make NGInlineNode::SetTextWithOffset() to handle bidi text correctly
This patch intorudces |NGInlineItemsBuilder::DidFinishCollectInlines()| to populate collected inline data to |NGInlineNodeData| at one place to ensure valid |NGInlineNodeData|, e.g. valid value of |is_bidi_enabled_|. Background: Before this patch, we processed RTL text as LTR text when text is modified with |LayoutText::SetTextWithOffset()| by Text.{append,replace}Data() and chunked append at loading. Bug: 1038254 Change-Id: I645f78f853e89704120d50b9db3234806f65c1ed Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2010590 Commit-Queue: Yoshifumi Inoue <yosin@chromium.org> Commit-Queue: Koji Ishii <kojii@chromium.org> Auto-Submit: Yoshifumi Inoue <yosin@chromium.org> Reviewed-by:Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#733296}
Showing
Please register or sign in to comment