Skip to content

Drop boundary check in calculate_content_widths - #772

Merged
nicoburns merged 1 commit into
linebender:mainfrom
tomcur:push-wqoqsqxnqort
Sep 4, 2026
Merged

Drop boundary check in calculate_content_widths#772
nicoburns merged 1 commit into
linebender:mainfrom
tomcur:push-wqoqsqxnqort

Conversation

@tomcur

@tomcur tomcur commented Sep 4, 2026

Copy link
Copy Markdown
Member

LLM Contributions: review.

Quick follow-up to #746, giving the same treatment to min_width as #746 did to the max_width. So, if there's an inline box immediately following a newline, that box's width is now correctly assigned to the new line's min_width.

(Separately, I'm thinking about a nicer form for this function in general, plus perhaps a good way to test it to actually catch this stuff in CI.)

Changelog

Fixed

Quick follow-up to parley#746, giving the same treatment to `min_width`
as it did for the `max_width`.
@nicoburns
nicoburns added this pull request to the merge queue Sep 4, 2026
Merged via the queue into linebender:main with commit ac26105 Sep 4, 2026
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants