W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > July 2015

[Bug 18542] onmousewheel attribute should be replaced with onwheel

From: <bugzilla@jessica.w3.org>
Date: Wed, 08 Jul 2015 17:53:48 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-18542-2486-G0iRP0Y9OG@http.www.w3.org/Bugs/Public/>

--- Comment #22 from Travis Leithead [MSFT] <travil@microsoft.com> ---
(In reply to Philippe Le Hegaret from comment #21)
> https://github.com/w3c/spork/pull/13

Note that Chrome and Edge both added some of the mousewheel's properties onto
the Wheel event interface for compat...

    [Constructor(DOMString typeArg, optional WheelEventInit eventInitDict)]
    interface WheelEvent : MouseEvent
        // DeltaModeCode
        const unsigned long DOM_DELTA_PIXEL = 0x00;
        const unsigned long DOM_DELTA_LINE = 0x01;
        const unsigned long DOM_DELTA_PAGE = 0x02;

        // From Legacy MouseWheel...
        readonly attribute long wheelDelta;
        readonly attribute long wheelDeltaX;
        readonly attribute long wheelDeltaY;

        readonly attribute long deltaX;
        readonly attribute long deltaY;
        readonly attribute long deltaZ;
        readonly attribute unsigned long deltaMode;


You are receiving this mail because:
You are the QA Contact for the bug.
Received on Wednesday, 8 July 2015 17:53:53 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 July 2015 17:53:53 UTC