FYI: stepUp/stepDown algorithm change (bug 27432)

Following
  https://www.w3.org/Bugs/Public/show_bug.cgi?id=27432

I proposed a PR [1] to add additional steps in the stepUp/stepDown 
algorithm and it got merged today.

[[
If the method invoked was the stepDown() method and value is greater 
than current value, abort these steps.

If the method invoked was the stepUp() method and value is less than 
current value, abort these steps.
]]
http://www.w3.org/TR/html51/semantics.html#dom-input-stepdown

This aligns the spec with existing implementations and makes more sense 
imho.

Philippe

[1] https://github.com/w3c/spork/pull/15

Received on Thursday, 9 July 2015 15:51:00 UTC