github web-platform-tests/wpt merge_pr_48836

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

[text-box-trim] Make it work on floats / OOFs.

Just use LayoutInputNode's IsFloatingOrOutOfFlowPositioned(), rather
than that of the node's LayoutObject / LayoutBox.

The LayoutBox of an InlineNode is the container, and the container's
out-of-flowness doesn't matter for the lines inside. Lines are always
considered to be in-flow.

Bug: 40254880
Change-Id: Id0f7965963ad17098e7bdbb5ba777c1d885f1829
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5961784
Commit-Queue: Morten Stenshorne mstensho@chromium.org
Reviewed-by: Koji Ishii kojii@chromium.org
Cr-Commit-Position: refs/heads/main@{#1374568}

Don't miss a new wpt release

NewReleases is sending notifications on new releases.