Open Bug 1932993 Opened 18 days ago Updated 15 days ago

Firefox fails WPT css-sizing/stretch/block-height-2.html

Categories

(Core :: Layout, defect)

defect

Tracking

()

People

(Reporter: dholbert, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

With my local patch stack to implement stretch, we still fail the second subtest of this WPT test:
https://wpt.fyi/results/css/css-sizing/stretch/block-height-2.html
https://wpt.live/css/css-sizing/stretch/block-height-2.html

Chrome fails too, but Safari passes both subtests (if I swap stretch for -webkit-fill-available which is the legacy spelling that Safari supports).

Based on the code-comment in the test, Safari's rendering is correct -- it's a special case where margins on the child are supposed to be ignored for the purposes of computing the stretch size (because you can tell they're going to collapse with the CB's margins, I think).

Anyway: filing this bug to track the followup-task of getting this test passing in Firefox.

Depends on: 1933408
You need to log in before you can comment on or make changes to this bug.