WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
67761
REGRESSION: number input doesn't fire change event when user clicks on up/down arrows
https://bugs.webkit.org/show_bug.cgi?id=67761
Summary
REGRESSION: number input doesn't fire change event when user clicks on up/dow...
Ryosuke Niwa
Reported
2011-09-07 21:53:53 PDT
Reproduction: 1. Open
http://simple-rte.rniwa.com/?editor=%3Cinput%20type%3D%22number%22%20id%3D%22n%22%20value%3D%221%22%20onchange%3D%22alert%28%27hi%27%29%22%3E&designmode=false&script=document.getElementById%28%27editor%27%29.focus%28%29%3B
2. Step up/down on the input element 3. Move focus to elsewhere On shipped version of Safari, "hi" is shown. On ToT WebKit, "hi" is never shown.
Attachments
Add attachment
proposed patch, testcase, etc.
Kent Tamura
Comment 1
2011-09-07 22:08:16 PDT
I think it's intentional.
http://code.google.com/p/chromium/issues/detail?id=51836
However, some developers asked 'change' event instead of 'input' event.
Ryosuke Niwa
Comment 2
2011-09-07 22:12:36 PDT
(In reply to
comment #1
)
> I think it's intentional.
http://code.google.com/p/chromium/issues/detail?id=51836
> However, some developers asked 'change' event instead of 'input' event.
I think that bug is about always firing change event instead of input event. This bug is about change event not firing when focus is removed from the element.
Kent Tamura
Comment 3
2011-09-07 22:18:07 PDT
(In reply to
comment #2
)
> I think that bug is about always firing change event instead of input event. This bug is about change event not firing when focus is removed from the element.
Oh, I'm sorry. I overlooked the step 3. But, "hi" was shown with WebKit
r94744
.
Ryosuke Niwa
Comment 4
2011-09-07 22:29:55 PDT
(In reply to
comment #3
)
> Oh, I'm sorry. I overlooked the step 3. > > But, "hi" was shown with WebKit
r94744
.
Mn... odd. Now I can't reproduce it either.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug