Closed Bug 1696062 Opened 4 years ago Closed 4 years ago

Date input size incorrectly rendered using grid-template-columns min-content

Categories

(Core :: Layout: Form Controls, defect, P3)

Firefox 86
x86_64
Windows 10
defect

Tracking

()

RESOLVED DUPLICATE of bug 1695578

People

(Reporter: diversscrap, Unassigned)

Details

(Keywords: regression, regressionwindow-wanted, testcase)

Attachments

(3 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0) Gecko/20100101 Firefox/86.0

Steps to reproduce:

HTML :
<div class="container_depth06 navbar_inputform_date">
<div class="container_depth07 navbar_input_date_control">
<input type="date" id="report_period_date" name="report_period_date" value="" min="2010-01-01">
</div>
</div>

CSS :
.navbar_inputform_date {
grid-template-columns: min-content;
}

Actual results:

The input box doesn't respond to the min-content sizing keyword. The end-result is a tiny box not sized to the content, in this case the default date (yyyy-mm-dd).

Expected results:

The input box should obey the min-content sizing keyword.

The Bugbug bot thinks this bug should belong to the 'Core::Layout' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Layout
Product: Firefox → Core
Attachment #9206526 - Attachment description: Render in Firefox → Render in Firefox 85.0.2 (correct)
Severity: -- → S3
Status: UNCONFIRMED → NEW
Component: Layout → Layout: Form Controls
Ever confirmed: true
OS: Unspecified → Windows 10
Priority: -- → P3
Hardware: Unspecified → x86_64
QA Whiteboard: [qa-regression-triage]
Status: NEW → RESOLVED
Closed: 4 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: