Skip to content

layout: Remove some newline-related dead code from shaping#44485

Merged
mrobinson merged 1 commit into
servo:mainfrom
mrobinson:remove-newline-code
Apr 25, 2026
Merged

layout: Remove some newline-related dead code from shaping#44485
mrobinson merged 1 commit into
servo:mainfrom
mrobinson:remove-newline-code

Conversation

@mrobinson
Copy link
Copy Markdown
Member

In #44436, I neglected to remove some hard line break-related code from
the shaping code. This code is effectively dead code now that
hard line breaks never make it to this code path, so it can safely be
removed.

Testing: This should not change behavior, so existing tests should suffice.

In servo#44436, I neglected to remove some hard line break-related code from
the shaping code. This code is effectively dead code now that
hard line breaks never make it to this code path, so it can safely be
removed.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
@mrobinson mrobinson requested a review from Loirooriol as a code owner April 24, 2026 13:47
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Apr 24, 2026
Copy link
Copy Markdown
Member

@yezhizhen yezhizhen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks straightforward to me.

@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Apr 25, 2026
@mrobinson mrobinson added this pull request to the merge queue Apr 25, 2026
@servo-highfive servo-highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Apr 25, 2026
Merged via the queue into servo:main with commit ac9f747 Apr 25, 2026
33 checks passed
@mrobinson mrobinson deleted the remove-newline-code branch April 25, 2026 10:02
@servo-highfive servo-highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Apr 25, 2026
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.

3 participants