Open Bug 1714281 Opened 5 years ago

[GTK] `IMContextWrapper` does not set proper "input purpose" when focused `<input>` element has been `<input type="password">`

Categories

(Core :: DOM: UI Events & Focus Handling, defect, P3)

Desktop
Linux
defect

Tracking

()

People

(Reporter: masayuki, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: inputmethod)

IMEStateManager treats <input type="text"> elements which have been <input type="password"> as "password" field because in these days, web apps may allow to show typed password with a toggle button. However, IMContextWrapper sets "input purpose" to "password" only when IME is not available in the focused editor.

I found this bug when I wrote a basic test in bug 1679108. So, the test will be landed into the tree (but feel free to fix this before bug 1679108 if you think this is serious case).

You need to log in before you can comment on or make changes to this bug.