Open Bug 1932993 Opened 1 year ago Updated 2 months ago

Firefox fails WPT css-sizing/stretch/block-height-002.tentative.html and block-height-004.tentative.html

Categories

(Core :: Layout, defect)

defect

Tracking

()

People

(Reporter: dholbert, Unassigned)

References

(Depends on 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

Update: this block-height-2.html test has been deleted and replaced with a few other related tests (also about margin-collapsing, which we also fail parts of with my 'stretch' patches) in bug 1936399 (WPT pr https://github.com/web-platform-tests/wpt/pull/49623 ).

The tests where we now have some remaining failures are block-height-002.tentative.html and block-height-004.tentative.html.

Summary: Firefox fails WPT css-sizing/stretch/block-height-2.html → Firefox fails WPT css-sizing/stretch/block-height-002.tentative.html and block-height-004.tentative.html
No longer blocks: 1789477
Depends on: 1789477
You need to log in before you can comment on or make changes to this bug.