mirror of
https://github.com/Kozea/WeasyPrint.git
synced 2024-10-03 23:48:07 +03:00
7a5c285c87
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. |
||
---|---|---|
.. | ||
draw | ||
layout | ||
resources | ||
__init__.py | ||
conftest.py | ||
test_acid2.py | ||
test_api.py | ||
test_boxes.py | ||
test_counters.py | ||
test_css_descriptors.py | ||
test_css_validation.py | ||
test_css.py | ||
test_float.py | ||
test_fonts.py | ||
test_pdf.py | ||
test_presentational_hints.py | ||
test_stacking.py | ||
test_target.py | ||
test_text.py | ||
test_unicode.py | ||
test_variables.py | ||
testing_utils.py |