[Webkit-unassigned] [Bug 76124] WheelEvent.initWebKitWheelEvent differs from DOM Events WheelEvent.initWheelEvent

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 12 17:13:11 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=76124





--- Comment #7 from Dominic Cooney <dominicc at chromium.org>  2012-01-12 17:13:10 PST ---
(In reply to comment #4)
> We're removing init* methods from all specs and using constructors. So, I think this specific aspect is controversial. We should only implement this if we are required to for web compat, otherwise we should try to get the spec updated.

I mentioned here <https://bugs.webkit.org/show_bug.cgi?id=68791#c14> that casual searching with Code Search indicated that initWheelEvent is used a lot. However we’re in an interesting place, since it obviously isn’t used in WebKit!

So if the question is one of browser parity compat, I think it makes sense to implement initWheelEvent. (I’m assuming other browsers implement the spec, though.) If the question is about not breaking existing web content, not implementing initWheelEvent makes sense.

In either case we should implement the DOM4 Events-style WheelEvent constructor.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list