[LayoutNG] Fix bidi reordering of lines with empty inline boxes
This patch fixes bidi reordering sometimes confused by empty inline boxes. These items do not have resolved bidi levels. Before this patch, |NGInlineLayoutAlgorithm| reordered ignoring such items. This patch changes it to assign bidi levels to such items by copying from adjacent items and let reordering to handle them. Bug: 1010662, 1010641, 998872 Change-Id: I5d074143970b83b64bddbb83cd03b17551e3f521 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1837435Reviewed-by:Emil A Eklund <eae@chromium.org> Commit-Queue: Koji Ishii <kojii@chromium.org> Auto-Submit: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#702526}
Showing
42 KB
