Keyboard navigation in date input with a minimum goes from 2018 to 275760
Reported by
maxime.c...@harelsystems.com,
Aug 5
|
|
Issue descriptionUserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0 Example URL: https://codepen.io/anon/pen/ZjjOaO Steps to reproduce the problem: 1. Add an <input type="date" min="2018-07-01" value="2018-07-02" /> 2. Click on (or tab to) the year part of the input 3. Press the "down" key What is the expected behavior? The year should either be 2018 (because a date in 2017 isn't valid) or 2017 (but the form wouldn't be valid). What went wrong? The year is now 275760. Either I really didn't pay attention last year or something is wrong! Does it occur on multiple sites: Yes Is it a problem with a plugin? No Did this work before? No Does this work in other browsers? Yes Chrome version: 67.0.3396.99 (Build officiel) Built on Ubuntu , running on neon 16.04 (64 bits) Channel: stable OS Version: Flash Version: Shockwave Flash 30.0 r0 Though this seems sound from a theoretical point of view, I don't think any user wants this behavior :)
,
Aug 6
Note: setting a max date forces the field to go to that date instead of 275760 (which makes sense if you're into the whole time loop thing). |
|
►
Sign in to add a comment |
|
Comment 1 by tkent@chromium.org
, Aug 6Labels: -Pri-2 OS-Chrome OS-Fuchsia OS-Mac OS-Windows Pri-3
Status: Available (was: Unconfirmed)