[Webkit-unassigned] [Bug 21279] Support ime-mode (CSS property)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jun 2 23:05:39 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=21279
androidgao at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |androidgao at gmail.com
--- Comment #21 from androidgao at gmail.com 2011-06-02 23:05:39 PST ---
hi everyone
There will be an important defect on the keypress,keydown,keyup events , if users open their IMEs, because ime will eat these key events.
So please add it to Webkit.
Try this example on Webkit based browser:
If ime off, the example work well.
If ime on, the example can not work.
<input id='castId' size="6" type="text" maxlength="6" onkeyup="checkCastId(this)" style="ime-mode: disabled;" />
<button id="openCastIdBtn" disabled="disabled">Open Cast</button>
<script>
function checkCastId(me){
console.log(me.value);
if(/[6-9]{6}/.test(me.value)){
document.getElementById("openCastIdBtn").disabled = "";
}
else{
document.getElementById("openCastIdBtn").disabled = "disabled";
}
}
</script>
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list