W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2009

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

From: Scott González <scott.gonzalez@gmail.com>
Date: Mon, 5 Oct 2009 22:42:38 -0400
Message-ID: <9450c5340910051942i37f08ba7k2fabd93a5460a1cb@mail.gmail.com>
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.htm>
Received on Monday, 5 October 2009 19:42:38 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:17 UTC