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)
Core
Layout
Tracking
()
RESOLVED
FIXED
81 Branch
Tracking | Status | |
---|---|---|
firefox81 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
Details
Attachments
(2 files, 1 obsolete file)
47 bytes,
text/x-phabricator-request
|
Details | Review | |
23.31 KB,
patch
|
Details | Diff | Splinter Review |
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.
Assignee | ||
Comment 1•5 years ago
|
||
There's no reason this shouldn't work per the grid spec.
Assignee | ||
Comment 2•5 years ago
|
||
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
Comment 3•5 years ago
|
||
Updated•5 years ago
|
Severity: -- → S3
Priority: -- → P2
Updated•5 years ago
|
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
Comment 6•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox81:
--- → fixed
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.
Description
•