Files
Oriol Brufau 85fdb609b5 Bug 2019468 [wpt PR 58060] - layout: Let OutsideMarker store an IndependentFormattingContext, a=testonly
Automatic update from web-platform-tests
layout: Let `OutsideMarker` store an `IndependentFormattingContext`

`OutsideMarker` was storing the `BlockFormattingContext` and the
`LayoutBoxBase` in separate fields. Now it will store an entire
`IndependentFormattingContext` in a single field.

In particular, this fixes the issue that `OutsideMarker::repair_style()`
wasn't calling `BlockFormattingContext::repair_style()`. Now we can just
rely on `IndependentFormattingContext::repair_style()`, which correctly
repairs the style of both the `BlockFormattingContext` and the
`LayoutBoxBase`.

Also, the `BlockLevelBox::repair_style()` was repairing the style of the
`LayoutBoxBase` twice, for all kinds of block-level boxes. This removes
the duplication.

Testing: Adding a new test
Fixes: 42779

Signed-off-by: Oriol Brufau <[email protected]>

--

wpt-commits: 0e65c24fb56462d7907e406d35b630a27d3974f4
wpt-pr: 58060
2026-03-04 09:08:02 +00:00
..