Closed Bug 1392734 Opened 7 years ago Closed 5 years ago

[css-grid] grid-auto-rows not working

Categories

(Core :: Layout: Grid, defect, P3)

55 Branch
defect

Tracking

()

RESOLVED DUPLICATE of bug 1339672
Tracking Status
firefox57 --- wontfix

People

(Reporter: nomad, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0
Build ID: 20170814072924

Steps to reproduce:

https://codepen.io/anon/pen/PKegem?editors=1100
Component: Untriaged → CSS Parsing and Computation
Product: Firefox → Core
Priority: -- → P3
Confirming bug. Caused by multiple values in 'grid-auto-rows'. Spec defines value as
|<track-size>+| but Gecko only accepts |<track-size>|. Please note this makes Firefox
fail a lot of complex CSS Grids examples while Chrome does not.
This bug has obviously two sides, css parsing and layout; Jet, your call for
Component assignment...
Status: UNCONFIRMED → NEW
Ever confirmed: true
May I ask why the status is wontfix? Is this un-fixable or not getting fixed in a specific version? The ability to specify multiple auto rows would be most useful.
This bug is the root cause of this bug reported at webcompat.com: https://github.com/webcompat/web-bugs/issues/17152

There's a WPT covering this behavior too (Chrome/Edge/Safari all pass this test): https://wpt.fyi/results/css/css-grid/implicit-grids/grid-support-grid-auto-columns-rows-002.html

This is quite baffling, to see the documentation on MDN providing the code examples of how to implement this feature, with no prior warning to users that this feature does not work correctly in Firefox.

Is there any news on whether or not this issue could possibly get fixed at any point in future?

here's the doc link: https://developer.mozilla.org/en-US/docs/Web/CSS/grid-auto-rows

Component: CSS Parsing and Computation → Layout: Grid

This bug is going to become more of a problem once subgrid ships, as authors will want to define implicit track sizing to be used by components which span multiple rows.

Here is a simple example: https://codepen.io/rachelandrew/pen/OGqpBN

I want to be able to size the track I place the image into, then have the caption in an auto sized track, making the tracks of the card a subgrid (this is going to be a common layout with "cards" so we can align the rows across the components). I can do this - as in the example - by specifying the pattern of two rows, but I likely don't know how many cards and therefore rows I have.

What I should be able to do is grid-auto-rows: 30vh auto to get a pattern of as many rows as required.

Was this set to wontfix because of work on Quantum? If so the issue still exists and should be fixed to meet the Spec. Otherwise, can we get an explanation as to why this won't be fixed?

This was set to WontFix in a particular release, the bug is still open.

Furthermore, there's work done to fix this in bug 1519958 and bug 1339672 which is just awaiting review from Mats who has been away for a bit.

This is a dupe of that bug, indeed.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.