W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > July 2011

[Bug 12949] click() shouldn't have special powers over dispatching click event manually

From: <bugzilla@jessica.w3.org>
Date: Sun, 03 Jul 2011 10:28:10 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1QdJuM-00019Q-KC@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12949

--- Comment #17 from Jan Varga <jan.varga@gmail.com> 2011-07-03 10:28:10 UTC ---
(In reply to comment #2)
> Jonas, your comments was a response to
> "(It is however clear that not all default handling should be
> processed when handling untrusted event. Both click() and manual dispatching
> do dispatch untrusted events.)" right?
> If so, I'll file a followup bug about that.
> 
> In this bug I'm more worried about the click() handling being
> different from dispatching click event manually without no reason.

you are right:
http://www.whatwg.org/specs/web-apps/current-work/ - 3.2.5.1.7 Interactive
content

"The above doesn't happen for arbitrary synthetic events dispatched by author
script. However, the click() method can be used to make it happen
programmatically."

it's really confusing

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Sunday, 3 July 2011 10:28:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 3 July 2011 10:28:12 GMT