stepUp/stepDown-Method on input Elements

74 views
Skip to first unread message

alexander farkas

unread,
Sep 4, 2010, 8:35:26 PM9/4/10
to Chromium HTML5
Hello,

I don't really understand how the algorithm of stepUp/stepDown methods
should work. They are described @http://www.w3.org/TR/html5/common-
input-element-attributes.html#dom-input-stepup .

Calling stepUp on an input-element with the following properties:
value="4" step="1.5" should set the new value to 5.5, but chrome does
correct the value to the next value that can be devided by 1.5.

Although, I think, that this makes much more sense, it doesn't seem to
be a standard compilant implementation, there is no correction of a
stepMissmatch. Am I missing something here?

regards
alex

Aryeh Gregor

unread,
Sep 5, 2010, 1:56:59 PM9/5/10
to alexander farkas, Chromium HTML5

Looks like a WebKit bug to me, yeah -- the spec appears to be as you
say. I suggest you file a WebKit bug.

Jeremy Orlow

unread,
Sep 6, 2010, 5:04:52 AM9/6/10
to Aryeh Gregor, alexander farkas, Chromium HTML5
bugs.webkit.org


--
You received this message because you are subscribed to the Google Groups "Chromium HTML5" group.
To post to this group, send email to chromiu...@chromium.org.
To unsubscribe from this group, send email to chromium-html...@chromium.org.
For more options, visit this group at http://groups.google.com/a/chromium.org/group/chromium-html5/?hl=en.


Reply all
Reply to author
Forward
0 new messages