[LayoutNG] Fix creating inline box when it has only bidi controls
This patch fixes a failure to create inline box fragments when they contain only bidi controls. A pair of PrepareForReorder() and UpdateAfterReorder() re-establishes relationship between inline boxes and its children after bidi reorder. When inline boxes have only bidi controls, the relationship was not re-established correctly, resulting DCHECK failures and incorrect positioning of such inline box fragments. Found in r570132 (CL:1108509) thanks to xiaochengh@. Bug: 636993 Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng Change-Id: I2fbbd60e230fea872af38d6c133bb26a50e67e4e Reviewed-on: https://chromium-review.googlesource.com/1116415 Commit-Queue: Koji Ishii <kojii@chromium.org> Reviewed-by:Emil A Eklund <eae@chromium.org> Reviewed-by:
Xiaocheng Hu <xiaochengh@chromium.org> Cr-Commit-Position: refs/heads/master@{#571057}
Showing
Please register or sign in to comment