[Webkit-unassigned] [Bug 145430] When the value of input isnot changed , selection range shouldnot be changed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 2 18:26:31 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=145430

--- Comment #13 from Peng Xinchao <xinchao.peng at samsung.com> ---
It happened with IME of PreEdit .
Example :
<input type="text" id="username"  oninput="testchangeime()"> </input>
<script>
function testchangeime(){    
    var q = document.getElementById("username").value;
    var p = q.trim();
    document.getElementById("username").value = p;
}
</script>

When user input 'a' with IME ,the status of 'a' is PreEdit .
But if testchangeime() is called , the status of 'a' will become PreEdit to NoPreEdit.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150603/c7b58d01/attachment.html>


More information about the webkit-unassigned mailing list