The ime-mode
property is a non-standard property used in CSS and certain HTML elements. This property controls the state of the input method editor for text fields. It was introduced in IE 5 and Gecko 1.9.
Values
auto
- No change is made to the current input method editor state. This is the default.normal
- The IME state should be normal; this value can be used in a user style sheet to override the page setting. This value is not supported by Internet Explorer.active
- The input method editor is initially active; text entry is performed using it unless the user specifically dismisses it. Not supported on Linux.inactive
- The input method editor is initially inactive, but the user may activate it if they wish. Not supported on Linux.disabled
- The input method editor is disabled and may not be activated by the user.
<input type="text" name="name" value="initial value" style="ime-mode:disabled;">
CSS example:
input[type=password] { ime-mode:auto; }