[Webkit-unassigned] [Bug 7143] REGRESSION: onclick handler cannot call a function named OnClick

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Wed Feb 8 21:03:49 PST 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=7143





------- Comment #2 from darin at apple.com  2006-02-08 21:03 PDT -------
For some reason, we have an onclick property on DOM nodes that allows you to
set and get the onclick handle for a DOM node. I can't find any other web
browser that has this property.

Because of this property, when you try to call a function on the window object
named onclick, you find the property on the DOM node first.

The fix is presumably just to remove the property, but I would like to know why
the property is there, and how many of the other "onxxx" properties need to be
removed.


-- 
Configure bugmail: http://bugzilla.opendarwin.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