<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - When the value of input isnot changed , selection range shouldnot be changed"
href="https://bugs.webkit.org/show_bug.cgi?id=145430#c13">Comment # 13</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - When the value of input isnot changed , selection range shouldnot be changed"
href="https://bugs.webkit.org/show_bug.cgi?id=145430">bug 145430</a>
from <span class="vcard"><a class="email" href="mailto:xinchao.peng@samsung.com" title="Peng Xinchao <xinchao.peng@samsung.com>"> <span class="fn">Peng Xinchao</span></a>
</span></b>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>