RESOLVED FIXED324966
[GTK][WPE] Respect inputmode as well as type for input elements
https://bugs.webkit.org/show_bug.cgi?id=324966
Summary [GTK][WPE] Respect inputmode as well as type for input elements
Simon Pena
Reported 2026-09-23 05:00:24 PDT
inputMethodStateForElement in Source/WebKit/WebProcess/WebPage/glib/WebPageGLib.cpp reads the inputmode attribute with HTMLElement::canonicalInputMode() for textarea and contenteditable elements. For <input> elements it doesn't, the purpose comes from the input type alone. This means that the input method might be given the wrong purpose, and inputmode="none" does not add WEBKIT_INPUT_HINT_INHIBIT_OSK, which is the standard way for a page to say it provides its own editor.
Attachments
Fujii Hironori
Comment 1 2026-10-05 00:31:45 PDT
EWS
Comment 2 2026-10-05 03:20:36 PDT
Committed 322692@main (cc1692eb5646): <https://commits.webkit.org/322692@main> Reviewed commits have been landed. Closing PR #75875 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.