Closed Bug 1229165 Opened 9 years ago Closed 9 years ago

[css-grid] min-height is not applied to grid container

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla45
Tracking Status
firefox45 --- fixed

People

(Reporter: jfernandez, Assigned: MatsPalmgren_bugz)

References

(Blocks 1 open bug)

Details

(Keywords: testcase)

Attachments

(3 files)

Attached file bug-min-height.html
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.2.1
Build ID: 20150828090403

Steps to reproduce:

Loading the attached test case.


Actual results:

The grid container is 50px height, not honoring the min-height value of 100px.


Expected results:

The grid container should have honored the min-height restriction, hence being sized as 100px height.
Thanks for the bug report Javier!  I simply forgot to add this.
Assignee: nobody → mats
Blocks: css-grid
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Keywords: testcase
Attached patch reftestsSplinter Review
Comment on attachment 8694472 [details] [diff] [review]
[css-grid] Apply min/max-width/height properties on the grid container.

Review of attachment 8694472 [details] [diff] [review]:
-----------------------------------------------------------------

Commit message nit:
> Bug 1229165 - [css-grid] Apply min/max-width/height properties on the grid container.  r=dholbert

Technically, this patch only does this for the block-axis.

Maybe adjust prose to something like:
 "Apply min/max-width/height properties to clamp block size of auto-height grid containers"

r=me regardless
Attachment #8694472 - Flags: review?(dholbert) → review+
> Technically, this patch only does this for the block-axis.

True.  I fixed the commit message as suggested.
Flags: in-testsuite+
https://hg.mozilla.org/mozilla-central/rev/81dcf2afd8f6
https://hg.mozilla.org/mozilla-central/rev/6443e8cb46c3
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: