W3C home > Mailing lists > Public > public-webapi@w3.org > March 2008

Re: Please Review: Mousewheel Event Proposal

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Fri, 28 Mar 2008 16:35:24 +0100
To: olli@pettay.fi
Cc: Web API public <public-webapi@w3.org>
Message-ID: <up3qu352c7bp0ss72k3ur4jhkut3ajt29t@hive.bjoern.hoehrmann.de>

* Olli Pettay wrote:
>"For both mouseomniwheel and mousewheel,
>MouseEvent.relatedNode must indicate the element over which the
>pointer is located"
>Why? element.target should indicate that already.

Because that may not be the case. Consider for example a select box with
multiple options: if the box is the active element, rotating the wheel
changes the selection, independently of whether the mouse cursor points
at the box; in this case .target could be the select box and relatedNode
the element under the cursor.
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Friday, 28 March 2008 15:36:15 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:25 UTC