[whatwg] For Japanese language users, Web Forms should have a way to active/deactive for IME

Olav Junker Kjær olav at olav.dk
Tue Jan 18 03:09:43 PST 2005


Just an additional comment:
If IME-mode is supported as a css property, its quite easy to implement 
basic support for IME in CSS, e.g.:

@media keyboard {

   input {
	ime-mode: auto;
   }
   input[inputmode] {
	ime-mode: disable;
   }
   /* all scripts requiring IME */
   input[inputmode~=kanji], input[inputmode~=kana] ... {
	ime-mode: enable;
   }

}

(Yes I know there is no media called keyboard, my point is just to show 
that ime-mode belongs in css, while script hints belong in (X)HTML.)

regards
Olav Junker Kjær



More information about the whatwg mailing list