[Webkit-unassigned] [Bug 20361] Should WebKit implement on* event handler properties for transition events?
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Aug 12 20:32:14 PDT 2008
https://bugs.webkit.org/show_bug.cgi?id=20361
------- Comment #3 from sam at webkit.org 2008-08-12 20:32 PDT -------
(In reply to comment #1)
> One (cranky and sleepy) side of me says we should only support addEventListener
> for these events. Since I see the on* event attributes/properties as legacy. If
> we don't plan to add the properties we should remove the HTML attributes.
What makes you feel that the attribute/property style event listeners is
legacy. Many new specs, including XMLHttpRequest Level 2, include new ones.(In
reply to comment #2)
> I think this is important because every event is accessible through properties.
> And this way of doing events is sometime more useful. For example, it's easier
> to delete events handler.
Just to be clear though, it is not true that every event is accessible through
properties, the "message" event used by postMessage doesn't for example.
That said, I do think attribute/property style event listeners should be added
for consistency in the API.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list