Issue 170878 in chromium: HTML5 input type=date: Datepicker changes do not dispatch 'input' events

59 views
Skip to first unread message

chro...@googlecode.com

unread,
Jan 18, 2013, 8:30:12 AM1/18/13
to chromi...@chromium.org
Status: Unconfirmed
Owner: ----
Labels: Area-Webkit Pri-2 Via-Wizard Type-Bug OS-Linux

New issue 170878 by carsten.kraus: HTML5 input type=date: Datepicker
changes do not dispatch 'input' events
http://code.google.com/p/chromium/issues/detail?id=170878

UserAgent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.17 (KHTML, like
Gecko) Chrome/24.0.1312.52 Safari/537.17

Example URL:
http://slides.html5rocks.com/#new-form-types

Steps to reproduce the problem:
1. Visit http://slides.html5rocks.com/#new-form-types
2. Open the devtools console, enter:
document.querySelector('input[type=date]').addEventListener('input',
function(e) { console.log('INPUT', e) })
3. Change the value of the date input via keyboard, stepper and datepicker

What is the expected behavior?
The console log should show 'INPUT' entries on each change, no matter what
control was used to make the change.

What went wrong?
The input event is only fired when the date is being changed through
keyboard input or the stepper; using the datepicker will cause 'change' but
not 'input' events.

Does it occur on multiple sites: Yes

Is it a problem playing media? No

Is it a problem with a plugin? No

Did this work before? N/A

Does this work in other browsers? N/A

Chrome version: 24.0.1312.52 Channel: stable
OS Version: 12.10

chro...@googlecode.com

unread,
Jan 20, 2013, 4:27:03 PM1/20/13
to chromi...@chromium.org
Updates:
Cc: tk...@chromium.org
Labels: WebKit-Forms

Comment #1 on issue 170878 by rse...@chromium.org: HTML5 input type=date:
Datepicker changes do not dispatch 'input' events
http://code.google.com/p/chromium/issues/detail?id=170878

(No comment was entered for this change.)

chro...@googlecode.com

unread,
Jan 20, 2013, 10:59:09 PM1/20/13
to chromi...@chromium.org
Updates:
Status: Available
Cc: -tk...@chromium.org
Labels: -OS-Linux OS-All

Comment #2 on issue 170878 by tk...@chromium.org: HTML5 input type=date:

chro...@googlecode.com

unread,
Jan 21, 2013, 3:33:40 AM1/21/13
to chromi...@chromium.org
Updates:
Status: Started
Owner: tk...@chromium.org
Labels: WebKit-ID-107427

Comment #3 on issue 170878 by tk...@chromium.org: HTML5 input type=date:

chro...@googlecode.com

unread,
Jan 21, 2013, 6:17:47 AM1/21/13
to chromi...@chromium.org
Updates:
Cc: rponn...@chromium.org

Comment #4 on issue 170878 by rponn...@chromium.org: HTML5 input type=date:
Datepicker changes do not dispatch 'input' events
http://code.google.com/p/chromium/issues/detail?id=170878

Tested the same on Windows7 & Current stable, Beta , Dev and canary
channels. Able to repro this issue.



chro...@googlecode.com

unread,
Jan 23, 2013, 1:58:40 AM1/23/13
to chromi...@chromium.org
Updates:
Labels: -Pri-2 -Type-Bug Pri-1 Type-Regression Mstone-25

Comment #6 on issue 170878 by tk...@chromium.org: HTML5 input type=date:
Datepicker changes do not dispatch 'input' events
http://code.google.com/p/chromium/issues/detail?id=170878

I found input[type=date] in Chrome 23- dispatched 'input' events in such
case. This issue is a regression.


chro...@googlecode.com

unread,
Jan 23, 2013, 11:49:17 PM1/23/13
to chromi...@chromium.org
Updates:
Status: Verified
Labels: Merge-Requested

Comment #7 on issue 170878 by tk...@chromium.org: HTML5 input type=date:
Datepicker changes do not dispatch 'input' events
http://code.google.com/p/chromium/issues/detail?id=170878

Verified the fix with 26.0.1392.0 canary.


chro...@googlecode.com

unread,
Jan 23, 2013, 11:52:35 PM1/23/13
to chromi...@chromium.org
Updates:
Labels: -Merge-Requested Merge-Approved

Comment #8 on issue 170878 by ke...@google.com: HTML5 input type=date:
Datepicker changes do not dispatch 'input' events
http://code.google.com/p/chromium/issues/detail?id=170878

chro...@googlecode.com

unread,
Jan 24, 2013, 12:50:53 AM1/24/13
to chromi...@chromium.org
Updates:
Labels: -Merge-Approved Merge-Merged

Comment #9 on issue 170878 by tk...@chromium.org: HTML5 input type=date:
Datepicker changes do not dispatch 'input' events
http://code.google.com/p/chromium/issues/detail?id=170878

Merged to M25 branch:
http://trac.webkit.org/changeset/140650
http://trac.webkit.org/changeset/140651


chro...@googlecode.com

unread,
Jan 28, 2013, 5:32:09 AM1/28/13
to chromi...@chromium.org

Comment #10 on issue 170878 by tk...@chromium.org: HTML5 input type=date:
Datepicker changes do not dispatch 'input' events
http://code.google.com/p/chromium/issues/detail?id=170878

Issue 172585 has been merged into this issue.

Reply all
Reply to author
Forward
0 new messages