mirror of
https://github.com/Kozea/WeasyPrint.git
synced 2024-10-05 08:27:22 +03:00
Don't try to split all inline children when splitting first line
Fix #553.
This commit is contained in:
parent
43dde60a8d
commit
60879829ac
@ -258,6 +258,8 @@ def inline_line_widths(context, box, outer, is_line_start, minimum,
|
||||
lines.append(width)
|
||||
if first_line:
|
||||
break
|
||||
if first_line and new_resume_at:
|
||||
break
|
||||
else:
|
||||
# http://www.w3.org/TR/css3-text/#line-break-details
|
||||
# "The line breaking behavior of a replaced element
|
||||
|
Loading…
Reference in New Issue
Block a user