mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-13 20:14:57 -10:00
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