Skip to content

merge_pr_46452

Compare
Choose a tag to compare
@github-actions github-actions released this 23 May 09:48

[text-box-trim] Honor clearance with <br>

While text-box-trim can trim objects in a line box that
pushes following boxes down, ClearanceAfterLine() should be
still valid, because the clearance space isn't part of the
line box. This patch fixes it.

Changes are under a runtime flag enabled only for testing.

Bug: 40254880
Change-Id: Ifc1cdbfbe40adcd69a245c8e0594c41f57bc94b2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5561849
Auto-Submit: Koji Ishii kojii@chromium.org
Reviewed-by: Kent Tamura tkent@chromium.org
Commit-Queue: Koji Ishii kojii@chromium.org
Commit-Queue: Kent Tamura tkent@chromium.org
Cr-Commit-Position: refs/heads/main@{#1304935}