Firefox fails WPT css-sizing/stretch/block-height-002.tentative.html and block-height-004.tentative.html
Categories
(Core :: Layout, 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.
| Reporter | ||
Comment 1•1 year ago
|
||
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.
| Reporter | ||
Updated•2 months ago
|
Description
•