- From: <bugzilla@jessica.w3.org>
- Date: Tue, 20 Aug 2013 13:00:40 +0000
- To: public-html-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=18542
Michał Z. Gołębiowski <m.goleb@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |m.goleb@gmail.com
--- Comment #13 from Michał Z. Gołębiowski <m.goleb@gmail.com> ---
This is a huge problem. IE9+ implements the `wheel` event but not the `onwheel`
attrubute. This makes it impossible for web developers to feature detect the
event presence and forcing them to create ugly UA-sniffs, see:
https://github.com/mzgol/wheel/blob/master/jquery.wheel.js#L17-19
and:
https://github.com/brandonaaron/jquery-mousewheel/blob/master/jquery.mousewheel.js#L27
I reported the issue to the IE team:
http://connect.microsoft.com/IE/feedback/details/782835
but they advised to use the flawed `hasFeature` method that isn't even
supported any more by Firefox:
https://bugzilla.mozilla.org/show_bug.cgi?id=801425
This is because feature detection methods based on "I'll tell you if I think I
support a particular spec" doesn't work.
Checking for the `on`+event attributes is the most reliable way of feature
detecting support for it. If it was specified, I'd have it easier to press IE
team to implement it.
--
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Tuesday, 20 August 2013 13:00:50 UTC