[Webkit-unassigned] [Bug 95566] WebKit accepts event listeners in onfoo attributes while no other browser does

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 31 10:02:59 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=95566


Alexey Proskuryakov <ap at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |abarth at webkit.org,
                   |                            |ap at webkit.org,
                   |                            |barraclough at apple.com,
                   |                            |oliver at apple.com,
                   |                            |sam at webkit.org




--- Comment #1 from Alexey Proskuryakov <ap at webkit.org>  2012-08-31 10:03:06 PST ---
> which is correct per-spec, as far as I can tell

Could you please quote the spec you're looking at? For example, DOM 2 Events explicitly says that "implementors may view the setting of attributes which represent event handlers as the creation and registration of an EventListener on the EventTarget".

I agree that we should strongly consider matching other browsers, but spec story seems unclear here.

Also, it's a non-trivial question which objects should be considered callable (cf. for example bug 40012), which is why I'm interested in the exact text.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list