[whatwg] default values stepDown() and stepUp() methods

Scott González scott.gonzalez at gmail.com
Mon Oct 5 19:42:38 PDT 2009


The stepDown() and stepUp() methods both take a single parameter to define
how many steps should be taken. There is currently no default value for this
parameter which means calling element.stepUp() takes zero steps, which
essentially means that it performs no action at all. I think the parameter
should default to 1 as that will probably be a very common use. Everyone I
have talked to agrees that defaulting to zero steps is not the behavior they
expect.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20091005/ef2cf57e/attachment-0002.htm>


More information about the whatwg mailing list