Closed Bug 1656281 Opened 5 years ago Closed 5 years ago

Stretching items in a grid container doesn't work if there's no aspect ratio.

Categories

(Core :: Layout, defect, P2)

defect

Tracking

()

RESOLVED FIXED
81 Branch
Tracking Status
firefox81 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(2 files, 1 obsolete file)

http://crisal.io/tmp/stretch-no-ratio.html is a test-case where we shouldn't show red but we do.

This blocks cleaning up iframes to use proper replaced element computation because <xul:browser> needs to stretch to fill its container.

There's no reason this shouldn't work per the grid spec.

This matches the behavior of other browsers, and the spec as far as I
can tell.

https://drafts.csswg.org/css-grid/#grid-item-sizing no longer mentions
'stretch' from the definition of 'normal'.

Depends on D85435

Severity: -- → S3
Priority: -- → P2
Attachment #9167084 - Attachment is obsolete: true
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/330c4fd5259d Allow to stretch items with no intrinsic ratio. r=mats
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/24895 for changes under testing/web-platform/tests
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: