inputmode attribute is a hint to adjust software keyboard layout
(numeric, email and etc). Originally this attribute was implemented by
B2G, but this was still disabled on beta and release channel. Although
we also support this attribute on GeckoView, Windows and Linux/GTK3
(macOS doesn't have software keyboard as OS level) on Nightly too, I
would like to enable this on GeckoView a first.

Actually, WebKit and Blink support this attribute, but this is applied
on editing host only, so Gecko's implementation is same. This issue is
https://github.com/whatwg/html/issues/5322.

Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1631681

Link to standard:
https://html.spec.whatwg.org/dev/interaction.html#input-modalities:-the-inputmode-attribute

Platform coverage: Android. Firefox desktop is still disabled on beta
and release channel.

Estimated target release: 77

Preference: This is enabled/disabled via dom.forms.inputmode

Devtools support: N/A. DevTools doesn't emulate software keyboard.

Other browsers: Chrome 80+ (all platforms) and Safari 12.2+ (iOS only)

web-platform-tests: reflection test for HTMLElement is
https://searchfox.org/mozilla-central/source/testing/web-platform/tests/html/dom/reflection-misc.html.

Restricted to secure contexts:  No
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to