Closed Bug 1898447 Opened 6 months ago Closed 6 months ago

[wpt-sync] Sync PR 46452 - [text-box-trim] Honor clearance with `<br>`

Categories

(Core :: Layout: Block and Inline, task, P4)

task

Tracking

()

RESOLVED FIXED
128 Branch
Tracking Status
firefox128 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 46452 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/46452
Details from upstream follow.

Koji Ishii <kojii@chromium.org> wrote:

[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/5561849
WPT-Export-Revision: 808559db37d44b6aca0612f3db07715a8373e028

Component: web-platform-tests → Layout: Block and Inline
Product: Testing → Core

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests

Status Summary

Firefox

PASS: 1

Chrome

PASS: 1

Safari

PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c1a7a2e506d4 [wpt PR 46452] - [text-box-trim] Honor clearance with `<br>`, a=testonly
Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
You need to log in before you can comment on or make changes to this bug.