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.
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.
(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.
(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.
(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.