Open Bug 1833481 Opened 1 year ago Updated 1 year ago

Firefox fails wpt test css-grid/subgrid/abs-pos-002.html

Categories

(Core :: Layout: Grid, defect)

defect

Tracking

()

People

(Reporter: dholbert, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached file testcase 1 (partially reduced) (deleted) —

wpt.fyi: https://wpt.fyi/results/css/css-grid/subgrid/abs-pos-002.html

wpt.live:
test: http://wpt.live/css/css-grid/subgrid/abs-pos-002.html
reference: http://wpt.live/css/css-grid/subgrid/abs-pos-002-ref.html

We have the gray area extending too far to the right on the second line, and too far to the left on the final line.

The discrepancy has to do with the padding on the subgrid element, it seems, and whether that reduces the size of the containing block for the abspos child. The test expects that it does reduce the size of the containing block; but in Firefox, it does not.

Reduced testcase attached, which renders with a skinny gray area in WebKit (as the WPT test is expecting) vs. a wide gray area in Firefox.

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

Attachment

General

Created:
Updated:
Size: