[Webkit-unassigned] [Bug 9181] Complete DOMUIEvent Obj-C API to reflect UIEvent

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Mon Jun 12 03:50:36 PDT 2006


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


jonas.witt at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
Attachment #8784 is|0                           |1
           obsolete|                            |




------- Comment #13 from jonas.witt at gmail.com  2006-06-12 03:50 PDT -------
Created an attachment (id=8820)
 --> (http://bugzilla.opendarwin.org/attachment.cgi?id=8820&action=view)
Testcase for the ObjC DOMEvent API

OK, this one is better. It tests all properties of all DOMEvent (sub)classes
that are currently defined in the WebKit API. Exceptions are [DOMMutationEvent
relatedNode], [DOMMouseEvent relatedTarget] and [DOMUIEvent view], which return
pointers to objects in the DOM tree. I don't know how they could be displayed
in a useful way; calling [NSObject description] would certainly be useless
because of the included memory address. Maybe [DOMNode nodeName]?

The included test (objc-event-api.html) currently tests mouse and key events
only. I'm unsure how WheelEvents and MutationEvents could be generated from JS
(For the MutationEvents, I've tried changing properties of DOM nodes via JS or
adding child nodes from JS, but neither worked).


-- 
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