Fix for missing JS KeyEvent

Koos Vriezen koos.vriezen at xs4all.nl
Sun Sep 29 21:19:22 BST 2002


On Sun, 29 Sep 2002, Koos Vriezen wrote:

> http://www.w3.org/TR/2001/WD-DOM-Level-3-Events-20010410/DOM3-Events.html

http://www.w3.org/TR/DOM-Level-3-Events/events.html#Events-TextEvents-Interfaces
is more up to date.

> It's now possible to write a wysiwyg HTML editor in JS (if only the
> renderer would render 'mytextnode.nodeValue=newstr;' correcly ...).

Sorry testcase:

<html>
<body onLoad="setTimeout('document.body.firstChild.nodeValue=\'xxxxxxxx\'',2000)">
aa<span>bb</span>cc
</body></html>

And wait two seconds after loading.


Koos





More information about the kfm-devel mailing list