- From: L. David Baron <dbaron@dbaron.org>
- Date: Sat, 6 May 2006 19:12:46 -0700
- To: "Web APIs WG (public)" <public-webapi@w3.org>
- Message-ID: <20060507021246.GA21839@ridley.dbaron.org>
On Saturday 2006-05-06 16:57 -0700, Maciej Stachowiak wrote: > All browsers seem to agree that dblclick.detail should match > click.detail for the corresponsing click event, although Opera does > not appear to be following Mac platform conventions for click count, > and Firefox does not appear to be following the proposed detail % 2 > == 0 rule on the Mac. Gecko just uses the click count that it gets from the toolkit. I think this is a good thing, since it means Web apps will follow the environment's convention for multiple clicks. When the user clicks in rapid succession, my tests [1] showed that this count progresses in the following ways: Windows: 1 2 3 2 3 2 3 2 3 ... GTK2: 1 2 3 1 2 3 1 2 3 ... Mac: 1 2 3 4 5 6 7 8 9 ... When the click count is 2, we fire a dblclick event in addition to a click event. -David [1] https://bugzilla.mozilla.org/show_bug.cgi?id=298271#c8 from the testcases on https://bugzilla.mozilla.org/show_bug.cgi?id=227328 (and perhaps somewhere else first, but I can't find it) -- L. David Baron <URL: http://dbaron.org/ > Technical Lead, Layout & CSS, Mozilla Corporation
Received on Sunday, 7 May 2006 02:12:54 UTC