IntroductionThis page only cover the things that are already tested. The functions that are not discussed below is not yet tested. Konqueror 3.5.6 (KHTML/3.5.6)The User-Agent string: Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.6 (like Gecko) (Kubuntu) Test ResultIf a character is inserted at the end of a <textarea> , the caret position will move to the beginning. I attempted to fix this problem, and I found that the problem is textarea.selectionStart and textarea.selectionEnd will always be 0 after inserting the string and I also cannot modify the value using: if(o.setSelectionRange) o.setSelectionRange(start,end);
else {
o.selectionStart = start;
o.selectionEnd = end;
}using both o.setSelectionRange and o.selectionStart/o.selectionEnd. (see GownFullObjectHandler.js in SVN) Preedit does not display properly. JavaScript related| Issue | Description | | Base.js | No problems found. | | DOM | No problems found. | | Ajax | XMLHttpRequest() available. | | Load JS dynamically | Can be done by window.eval() with XMLHTTP. | | | NOTE after running window.eval(), the global variable created will be destroyed. If there are new global variable created using window.eval(), say foo. One may need to do window.foo = foo; to make the global variable continue to exist after the execution of window.eval(). | | Load CSS dynamically | Can be done by document.createElement('link') and append to <head> . |
| Event | Description | | onkeydown | addEventListener works. | | onkeyup | addEventListener works. | | onkeypress | addEventListener works. | | onmousedown | addEventListener works. | | onmouseup | addEventListener works. | | onmousemove | addEventListener works. |
| Selection | Description | How to get selection of a <textarea> | use textarea.selectionStart and textarea.selectionEnd | How to set selection of a <textarea> | use textarea.selectionStart and textarea.selectionEnd or textarea.setSelectionRange |
|