Bug 1842987 Remove dom.forms.enterkeyhint r=emilio,geckoview-reviewers,m_kato

Differential Revision: https://phabricator.services.mozilla.com/D184620
This commit is contained in:
renevietnam29@gmail.com
2023-08-14 13:52:35 +00:00
parent a690dd831c
commit ab6d41fe33
10 changed files with 6 additions and 21 deletions

View File

@@ -812,8 +812,7 @@ void nsGenericHTMLElement::AfterSetAttr(int32_t aNamespaceID, nsAtom* aName,
}
} else if ((aName == nsGkAtoms::inputmode &&
StaticPrefs::dom_forms_inputmode()) ||
(aName == nsGkAtoms::enterkeyhint &&
StaticPrefs::dom_forms_enterkeyhint())) {
aName == nsGkAtoms::enterkeyhint) {
nsPIDOMWindowOuter* window = OwnerDoc()->GetWindow();
if (window && window->GetFocusedElement() == this) {
if (IMEContentObserver* observer =