patch to add KeyboardEvent for JavaScript
David Faure
dfaure at klaralvdalens-datakonsult.se
Thu Nov 6 12:38:36 CET 2003
On Thursday 06 November 2003 12:26, David Faure wrote:
> And I'll merge KeyboardEvent then.
Actually..... I can't. I miss the initial implementation of KeyboardEvent
in dom/, it's not in Webcore-106.
Can you send me the complete dom2_events.* files... and any file that
KeyboardEvent depends on (e.g. the code that fires it :)
Oh well, if it's too complicated I'll have to wait for the next tarball...
One comment: I'm not sure what modules really are, but shouldn't keyboardevent
define its own module too?
- if (module == "UIEvents")
+ if (e.handle()->isKeyboardEvent())
+ ret = new DOMKeyboardEvent(exec, static_cast<DOM::KeyboardEvent>(e));
+ else if (module == "UIEvents")
....
--
David Faure -- faure at kde.org, dfaure at klaralvdalens-datakonsult.se
Qt/KDE/KOffice developer
Klarälvdalens Datakonsult AB, Platform-independent software solutions
More information about the Khtml-devel
mailing list