[Webkit-unassigned] [Bug 9933] DOM3 keyboard events are not working

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Mon Jul 17 10:45:57 PDT 2006


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





------- Comment #2 from darin at apple.com  2006-07-17 10:45 PDT -------
(In reply to comment #1)
> One benefit of fixing this bug is that editing will start to work with key
> events dispatched by JavaScript. See this comment in FrameMac.mm:
> 
>     // FIXME: We might eventually need to make sure key bindings for editing
> work even with
>     // events created with the DOM API. Those don't have a
> PlatformKeyboardEvent.

There are really two separate issues.

One is that within WebCore itself we'd like to use the DOM keyboard event
objects. That may turn out to be straightforward, but it also may turn out that
there's information in the platform events that the DOM events don't contain.
So we might need to extend the DOM.

The key bindings issue is a separate one. That mechanism, part of OS X, is
based on NSEvent objects. So a PlatformKeyboardEvent is not good enough -- we
actually need an NSEvent. To fix that we'll need to create NSEvent objects for
events created by the DOM.

While similar, there are different types of fixes needed for each of these two
issues.


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