github web-platform-tests/wpt merge_pr_48051

latest releases: merge_pr_49470, epochs/three_hourly/2024-12-03_06H, epochs/six_hourly/2024-12-03_06H...
12 months ago

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

This patch fixes the combination of text-box-trim and <br>
with clearance, originally implemented at crrev.com/c/5561849.

This patch fixes to compute the clearance using the trimmed
height. This fixes when the clearance is below the trimmed box
but above the box before trimming.

The text-box-trim-float-clear-br-003 tests this case, with
the ref URL and the height of the float fixed.

Bug: 359926563, 40254880
Change-Id: Ic62deaa3df7a2d7180e59a63c79882f284b8b548
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5845888
Commit-Queue: Koji Ishii kojii@chromium.org
Auto-Submit: Koji Ishii kojii@chromium.org
Reviewed-by: Ian Kilpatrick ikilpatrick@chromium.org
Cr-Commit-Position: refs/heads/main@{#1353116}

Don't miss a new wpt release

NewReleases is sending notifications on new releases.