W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2009

[whatwg] DragEvent's inherited MouseEvent properties should be available to all drag events

From: Sebastian Markbåge <sebastian@calyptus.eu>
Date: Wed, 12 Aug 2009 14:40:30 +0200
Message-ID: <491930550908120540k410c50fatd25cf3fa4b33d8c8@mail.gmail.com>
> > The spec should explicitly specify which MouseEvent properties are
> > available during the various drag events to avoid assumptions.
> The spec requires them to all be set on all drag events, currently.

I thought that this was clear too but apparently it's not clear that they
should be set to something useful:


> > The specification is only partly input device agnostic. It can't be both
> > totally input device agnostic and inherit MouseEvent. If it's going to
> > inherit MouseEvent it needs to be specified what that means.
> I've added more text to clarify what it means in the case of the mouse not
> being used.
Apparently it also needs to be clear that the properties SHOULD be set, if a
pointing device IS being used. See above conversion on the Mozilla bug.

I'd suggest you add something like "If there is a relevant pointing device,
the attributes should be set to relevant position values for all events in
the sequence." - So that the intention is clear and don't have to rely on
implicit interpretation.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20090812/c4d22147/attachment.htm>
Received on Wednesday, 12 August 2009 05:40:30 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:15 UTC