Closed
Bug 1352314
Opened 8 years ago
Closed 8 years ago
[CSS-Grid] Incorrect height of grid-item when it contains styled input fields
Categories
(Core :: Layout: Block and Inline, defect)
Core
Layout: Block and Inline
Tracking
()
RESOLVED
DUPLICATE
of bug 1356820
People
(Reporter: phiw2, Unassigned)
Details
(Keywords: testcase)
Attachments
(3 files)
IOW the content of the grid-item overflows the row height - or - the grid container doesn’t grow enough to accommodate the height of the column.
The main trigger for this appears to be input { font-size: 1rem; }; a secondary trigger is having a block of “text” that wraps to multiple lines
In the test case (extracted from a much larger layout): the grid-container has a red border; the green-blue column on the right appears too tall for the container.
I am aware that if your window is wide enough, the bug is not visible; similarly, if you remove the text ‘Leave blank to have the article's permalink URL automatically generated from the Title.’, the bug is not visible. However, in the real world layout, the column contains many more items (input fields), the issue is _always_ visible (real world layout is the back-end of a CMS).
Seen on Win 10 and macOS 10.11, Firefox 52 and Firefox for developers.
Reporter | ||
Comment 1•8 years ago
|
||
Observe the difference between the two blocks. In the second one, there are 2 paragraphs that wrap to (multiple) lines - the column overflows the grid. Using the developer tools, toggle the font-size set on the input field, magic the layout displays correctly.
Reporter | ||
Comment 2•8 years ago
|
||
Comment 3•8 years ago
|
||
Thanks for your bug report! I'm fixing this in bug 1356820...
You need to log in
before you can comment on or make changes to this bug.
Description
•