Closed Bug 1430580 Opened 7 years ago Closed 7 years ago

Spanning Grid item has too much space at the bottom / is too high

Categories

(Firefox :: Untriaged, defect)

57 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1430757

People

(Reporter: tobi, Unassigned)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:57.0) Gecko/20100101 Firefox/57.0 Build ID: 20180103231032 Steps to reproduce: Open (the work-in-progress demo) https://tobireif.com/demos/grid/ , set the viewport width to approximately 900px. Scroll down. Right-click -> Inspect -> in the dev tools select the div with class "page", leave the pointer over that element. Notice that below the text "No HTML code needs to be changed" there's too much space inside that Grid item (element "main"), and that it's not cased eg by "margin" or "padding" values. (Perhaps it's the same size as the Grid gap?) A stable copy of the page (in case the layout at the above URL changed and doesn't show the issue anymore) is at https://tobireif.com/non_site_stuff/unfinished_grid_demo_copy_for_grid_span_bug_reports/ . Actual results: There is superfluous space at the bottom of the spanning Grid item "main". Expected results: The should be no superfluous space at the bottom of the spanning Grid item "main".
Same issue in Safari, Firefox. Seems to be OK in Edge. The attached simplified test-case is by fantasai - thanks!
Attached image screenshot_firefox.png
Oops, the instructions for making the Grid inspector appear were for Chrome, but you sure know how to make the Grid inspectiobn overlay appear in Firefox :) Also I mean to write: Same issue in Chrome and Safari. Seems to be OK in Edge.
I don't understand the test-case completely. If you have questions about the test-case, please ask fantasai. My issue report again, in short: When you open https://tobireif.com/non_site_stuff/unfinished_grid_demo_copy_for_grid_span_bug_reports/ , set the window width to ~900px, and make the Grid boxes appear using the dev tools, you can see that there's too much space at the bottom of the spanning element "main" which is not caused by margin or padding - the superfluous space at the bottom of the Grid item / the larger-than-content height of the Grid item seems to be Grid-related.
The test-case has an issue, here's the new bug report: https://bugzilla.mozilla.org/show_bug.cgi?id=1430757
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: