mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Bug 850346 - Change inputmode to inputMode for nsHTMLInputElement. r=bz
This commit is contained in:
parent
89180117cc
commit
674e5773f6
@ -964,7 +964,7 @@ NS_IMPL_ENUM_ATTR_DEFAULT_MISSING_INVALID_VALUES(nsHTMLInputElement, FormMethod,
|
|||||||
"", kFormDefaultMethod->tag)
|
"", kFormDefaultMethod->tag)
|
||||||
NS_IMPL_BOOL_ATTR(nsHTMLInputElement, FormNoValidate, formnovalidate)
|
NS_IMPL_BOOL_ATTR(nsHTMLInputElement, FormNoValidate, formnovalidate)
|
||||||
NS_IMPL_STRING_ATTR(nsHTMLInputElement, FormTarget, formtarget)
|
NS_IMPL_STRING_ATTR(nsHTMLInputElement, FormTarget, formtarget)
|
||||||
NS_IMPL_ENUM_ATTR_DEFAULT_VALUE(nsHTMLInputElement, Inputmode, inputmode,
|
NS_IMPL_ENUM_ATTR_DEFAULT_VALUE(nsHTMLInputElement, InputMode, inputmode,
|
||||||
kInputDefaultInputmode->tag)
|
kInputDefaultInputmode->tag)
|
||||||
NS_IMPL_BOOL_ATTR(nsHTMLInputElement, Multiple, multiple)
|
NS_IMPL_BOOL_ATTR(nsHTMLInputElement, Multiple, multiple)
|
||||||
NS_IMPL_NON_NEGATIVE_INT_ATTR(nsHTMLInputElement, MaxLength, maxlength)
|
NS_IMPL_NON_NEGATIVE_INT_ATTR(nsHTMLInputElement, MaxLength, maxlength)
|
||||||
|
@ -112,7 +112,7 @@ reflectUnsignedInt({
|
|||||||
// .inputmode
|
// .inputmode
|
||||||
reflectLimitedEnumerated({
|
reflectLimitedEnumerated({
|
||||||
element: document.createElement("input"),
|
element: document.createElement("input"),
|
||||||
attribute: "inputmode",
|
attribute: "inputMode",
|
||||||
validValues: [ "numeric", "digit", "uppercase", "lowercase", "titlecase", "autocapitalized", "auto" ],
|
validValues: [ "numeric", "digit", "uppercase", "lowercase", "titlecase", "autocapitalized", "auto" ],
|
||||||
invalidValues: [ "", "foo", "tulip" ],
|
invalidValues: [ "", "foo", "tulip" ],
|
||||||
defaultValue: "auto"
|
defaultValue: "auto"
|
||||||
|
@ -43,7 +43,7 @@ interface nsIDOMHTMLInputElement : nsIDOMHTMLElement
|
|||||||
attribute unsigned long height;
|
attribute unsigned long height;
|
||||||
attribute boolean indeterminate;
|
attribute boolean indeterminate;
|
||||||
|
|
||||||
attribute DOMString inputmode;
|
attribute DOMString inputMode;
|
||||||
|
|
||||||
readonly attribute nsIDOMHTMLElement list;
|
readonly attribute nsIDOMHTMLElement list;
|
||||||
attribute DOMString max;
|
attribute DOMString max;
|
||||||
|
Loading…
Reference in New Issue
Block a user