W3C home > Mailing lists > Public > public-webapi@w3.org > May 2006

Re: ACTION-119: dblclick analysis

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sun, 07 May 2006 01:18:30 +0200
To: "Anne van Kesteren" <annevk@opera.com>
Cc: "Web APIs WG (public)" <public-webapi@w3.org>
Message-ID: <34aq52tbn27bo7r8ogtsd1vp7nu6hav9ac@hive.bjoern.hoehrmann.de>

* Anne van Kesteren wrote:
>Context Info is the same as for the click event, including UIEvent.detail  
>which returns the amount of subsequent clicks (not double clicks) taken in  
>account platform conventions. For example, on Windows it will go to 2  
>after 3 and on the Mac it will go to 4. So when dblclick is dispatched,  
>its UIEvent.detail says 2 (or a multiple of that, depending on the amount  
>of clicks you made and depending on platform conventions).

Your test documents apparently never check dblclick.detail and this does
not describe how implementations currently behave; in Opera9 and FF2 the
dblclick.detail is always 2 as far as I can tell. I assume that's what
the specification should say until someone objects...

Also note that click.detail depends on the environment configuration,
not the operating system, which allows DOM applications to behave in
accord with the conventions of the environment they run in; on Windows
e.g. FF2, Opera9, and Batik all employ slightly different behavior.
-- 
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 Saturday, 6 May 2006 23:18:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:55 GMT