Validity State's badInput is not getting set for partially filled date

UNCONFIRMED
Unassigned

Status

()

Core
Layout: Form Controls
P1
normal
UNCONFIRMED
2 months ago
a month ago

People

(Reporter: Parthiv Shah, Unassigned)

Tracking

57 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

2 months ago
Created attachment 8932775 [details]
demo.html

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36

Steps to reproduce:

1. Open demo.html page.
2. Enter only year as 1991. Do not enter month and date.
3. Click on anywhere other than date control on the page to fire blur event.
4. Observe date is not filled with today's date.


Actual results:

Date field remains as it is and not filled by today's date.


Expected results:

Date field should be filled with today's date.

Updated

2 months ago
Component: Untriaged → Layout: Form Controls
Product: Firefox → Core

Updated

a month ago
Priority: -- → P1
You need to log in before you can comment on or make changes to this bug.