Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don’t remove inline block’s trailing space twice
When we calculate the minimum width of an inline block, the size of the trailing space is already removed by split_first_line. There’s no need to remove it twice. We should probably fix split_first_line to remove the trailing space only when it’s been asked to. But there’s no obvious situation when we want the minimum width to include trailing spaces, as the minimum size requires line breaks everywhere, including after each space. At least, this commit doesn’t remove trailing spaces twice. Related to #1520.
- Loading branch information
Showing
2 changed files
with
6 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters