Closed Bug 1889855 Opened 6 months ago Closed 6 months ago

[wpt-sync] Sync PR 45568 - [line-clamp] Hide floats after the clamp point

Categories

(Core :: Layout: Scrolling and Overflow, task, P4)

task

Tracking

()

RESOLVED FIXED
127 Branch
Tracking Status
firefox127 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Andreu Botella <abotella@igalia.com> wrote:

[line-clamp] Hide floats after the clamp point

This patch makes floats that appear in the layout tree after the clamp
point (that is, in tree order after the end of the last shown line)
hidden for paint. This depends entirely on the layout tree order,
regardless of whether the float extends beyond the last line.

This is achieved by storing a flag in UnpositionedFloat to mark the
float as hidden for paint, which is then checked when creating the
constraint space for the float.

Bug: 40336192
Change-Id: I8216289461e9390ecb99454c2e81f889e5ca8489
Reviewed-on: https://chromium-review.googlesource.com/5425036
WPT-Export-Revision: ddc7266581990fadba568257a94a867b06320c88

Component: web-platform-tests → Layout: Scrolling and Overflow
Product: Testing → Core

CI Results

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

Total 9 tests

Status Summary

Firefox

FAIL: 9

Chrome

FAIL: 9

Safari

FAIL: 9

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch
You need to log in before you can comment on or make changes to this bug.