Open Bug 2009498 Opened 1 day ago Updated 1 day ago

[wpt-sync] Sync PR 57116 - layout: Let floats know that margins can collapse thru phantom lines

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Oriol Brufau <obrufau@igalia.com> wrote:

layout: Let floats know that margins can collapse thru phantom lines

Phantom line boxes allow margins to collapse through them. But in the sequential layout state we were assuming that was not the case, so we were placing floats incorrectly.

Testing: Adding 2 tests
Fixes: #<!-- nolink -->41794
Fixes: #<!-- nolink -->41734

Reviewed in servo/servo#41812

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
You need to log in before you can comment on or make changes to this bug.