Bug 1424284 - Part 1. Add inputmode to HTMLElement. r=smaug,jdai
`inputmode` attribute controls software keyboard layout like `<input type>`. Originally this was by B2G (bug 746142) and for `<input>` element only. WHATWG spec allows this attribute for HTML element and WebKit and Blink have already implemented this. Differential Revision: https://phabricator.services.mozilla.com/D69348
This commit is contained in:
@@ -508,11 +508,6 @@ class HTMLInputElement final : public TextControlElement,
|
||||
bool IsDraggingRange() const { return mIsDraggingRange; }
|
||||
void SetIndeterminate(bool aValue);
|
||||
|
||||
void GetInputMode(nsAString& aValue);
|
||||
void SetInputMode(const nsAString& aValue, ErrorResult& aRv) {
|
||||
SetHTMLAttr(nsGkAtoms::inputmode, aValue, aRv);
|
||||
}
|
||||
|
||||
nsGenericHTMLElement* GetList() const;
|
||||
|
||||
void GetMax(nsAString& aValue) { GetHTMLAttr(nsGkAtoms::max, aValue); }
|
||||
|
||||
Reference in New Issue
Block a user