The nsIDOMHTMLInputElement interface is the interface to a [X]HTML
input element.
This interface is trying to follow the DOM Level 2 HTML specification:
http://www.w3.org/TR/DOM-Level-2-HTML/
with changes from the work-in-progress WHATWG HTML specification:
http://www.whatwg.org/specs/web-apps/current-work/
Methods
stepDown(n)
stepUp(n)
checkValidity()
setCustomValidity(error)
select()
setSelectionRange(selectionStart, selectionEnd, direction)
mozGetFileNameArray(aLength, aFileNames)
mozSetFileNameArray(aFileNames, aLength)
mozIsTextField(aExcludePassword)
This non-standard method prevents to check types manually to know if the
element is a text field.
Attributes
accept
alt
autocomplete
autofocus
defaultChecked
checked
disabled
files
height
indeterminate
list
max
maxLength
min
multiple
name
pattern
placeholder
readOnly
required
step
align
size
width
src
type
defaultValue
value
valueAsNumber
willValidate
validity
validationMessage
selectionStart
selectionEnd
selectionDirection
useMap
controllers
textLength