mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 556009 (1/2) - Add the step attribute to HTMLInputElement. r=sicking
--HG-- extra : rebase_source : 7288832870ee9c6a7964f5f8b3e619c2b2b81c70
This commit is contained in:
parent
3665ad6901
commit
eaae5e727b
@ -921,6 +921,7 @@ GK_ATOM(statedatasource, "statedatasource")
|
||||
GK_ATOM(staticHint, "staticHint")
|
||||
GK_ATOM(statusbar, "statusbar")
|
||||
GK_ATOM(statustext, "statustext")
|
||||
GK_ATOM(step, "step")
|
||||
GK_ATOM(stop, "stop")
|
||||
GK_ATOM(stretch, "stretch")
|
||||
GK_ATOM(strike, "strike")
|
||||
|
@ -862,6 +862,7 @@ NS_IMPL_STRING_ATTR(nsHTMLInputElement, Name, name)
|
||||
NS_IMPL_BOOL_ATTR(nsHTMLInputElement, ReadOnly, readonly)
|
||||
NS_IMPL_BOOL_ATTR(nsHTMLInputElement, Required, required)
|
||||
NS_IMPL_URI_ATTR(nsHTMLInputElement, Src, src)
|
||||
NS_IMPL_STRING_ATTR(nsHTMLInputElement, Step, step)
|
||||
NS_IMPL_INT_ATTR(nsHTMLInputElement, TabIndex, tabindex)
|
||||
NS_IMPL_STRING_ATTR(nsHTMLInputElement, UseMap, usemap)
|
||||
//NS_IMPL_STRING_ATTR(nsHTMLInputElement, Value, value)
|
||||
|
@ -179,7 +179,10 @@ reflectUnsignedInt({
|
||||
// TODO: src (URL)
|
||||
|
||||
// .step
|
||||
todo("step" in document.createElement("input"), "step isn't implemented yet");
|
||||
reflectString({
|
||||
element: document.createElement('input'),
|
||||
attribute: 'step',
|
||||
});
|
||||
|
||||
// .type
|
||||
reflectLimitedEnumerated({
|
||||
|
@ -20,7 +20,7 @@ interface nsIDOMValidityState;
|
||||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(261b0fa1-dfcc-445d-8ac8-6b3817ec63cb)]
|
||||
[scriptable, uuid(e20b7e26-e952-4bba-9192-99bd1a4b3816)]
|
||||
interface nsIDOMHTMLInputElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString accept;
|
||||
@ -55,6 +55,7 @@ interface nsIDOMHTMLInputElement : nsIDOMHTMLElement
|
||||
attribute DOMString placeholder;
|
||||
attribute boolean readOnly;
|
||||
attribute boolean required;
|
||||
attribute DOMString step;
|
||||
|
||||
attribute DOMString align;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user