D3E WheelEvent has been implemented already. However, there is no event attribute for it.
HTML5 draft doesn't define onwheel, but defines onmousewheel which is for the legacy mousewheel event (implemented on IE and WebKit). I think that we shouldn't use the name for wheel event and should be dropped from HTML5 spec.
Does IE have onwheel?
But anyhow, we should have it.
(In reply to Olli Pettay [:smaug] from comment #1)
> Does IE have onwheel?
IE9 doesn't support onwheel event. I don't know IE10. I don't have environment which has IE10.
you mean IE9 doesn't have onwheel property? It should support "wheel" event, I think.
At least they were claiming to implement all of D3E.
(In reply to Olli Pettay [:smaug] from comment #3)
> you mean IE9 doesn't have onwheel property?
Oops, I meant onwheel attribute isn't supported. E.g.,
<div style="overflow: auto; height: 100px; width: 100px;" onwheel="alert(event.type);">
<div style="height: 1000px; width: 1000px;" onwheel="alert(event.type);"></div>
In this case, these onwheel's script are not performed.
Created attachment 651417 [details]
Created attachment 651650 [details] [diff] [review]
Comment on attachment 651650 [details] [diff] [review]
I think we want also target.onwheel support, not only <element onwheel>
Ah, but I don't know where I need to change. Where should I change?
Oh, in each interface?
Yup, similarly to, hmm, I guess onclick for example.
Ah, I got it.
You'll need to also use different macro in nsEventNameList.h
Created attachment 652027 [details] [diff] [review]