Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
layout: Fix trailing collapsible space handling with <ruby>
* Trailing collapsible space should not be handled in ruby-base lines because such lines are contained by another line. This CL introduces `LineBreaker:: disable_trailing_whitespace_collapsing_`. * ComputeTrailingCollapsibleSpace() should iterate inside ruby columns recursively. * RemoveTrailingCollapsibleSpace() and TrailingCollapsibleSpaceWidth() should compute ruby column widths correctly. * ruby-intra-level-whitespace-001.html passed accidentally. It requires <rb> and table-like pairing. Bug: 376097115 Change-Id: I55e4559012ec08c9b423ad8a518890c02862d857 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5996911 Commit-Queue: Koji Ishii <[email protected]> Auto-Submit: Kent Tamura <[email protected]> Reviewed-by: Koji Ishii <[email protected]> Cr-Commit-Position: refs/heads/main@{#1379515}
- Loading branch information