- From: Ian Hickson <ian@hixie.ch>
- Date: Tue, 12 Feb 2008 17:57:56 +0000 (UTC)
- To: Anne van Kesteren <annevk@opera.com>
- Cc: www-archive@w3.org
On Tue, 12 Feb 2008, Anne van Kesteren wrote:
>
> What exactly requires click() and onclick() to be processed in 
> synchronous fashion so that up is indeed 10 right after the invocation 
> of click()? Or am I misunderstanding something?
click(): Simulate a mouse-click [1]
onclick: The onclick event occurs when the pointing device button is
         clicked over an element. [2]
[1] http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-2651361
[2] http://www.w3.org/TR/html4/interact/scripts.html#h-18.2.3
It doesn't say "Simulate a mouse-click later" or anything like that.
-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 12 February 2008 17:58:16 UTC