W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2013

Re: [whatwg] Implementation issue: step mismatch handling for <input type=range>

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 25 Jan 2013 18:17:24 +0000 (UTC)
To: Jonathan Watt <jwatt@jwatt.org>
Message-ID: <Pine.LNX.4.64.1301251813050.2101@ps20323.dreamhostps.com>
Cc: whatwg@lists.whatwg.org
On Wed, 23 Jan 2013, Jonathan Watt wrote:
> On 17/01/2013 20:13, Ian Hickson wrote:
> > Fixed, by adding "if there is a number that matches these
> > constraints", which means that the value now ends up at 0 and remains
> > suffering from a step mismatch.
> 
> Regarding this change:
> 
> http://html5.org/tools/web-apps-tracker?from=7640&to=7641
> 
> For what it's worth the comment was wrong since it contains "<input type=range
> value=-1 max=2 step=3>" whereas my example was "<input type=range value=-1
> max=1 step=3>". It's only in the latter case (lower max value) that there will
> be a step mismatch.

Oops, I had originally had different numbers and forgot to fix the step 
when I changed the min. Oh well.


> Also, would it be possible in future to have content and formatting 
> changes made in different commits? Several people I've discussed this 
> change with off list have complained that having both types of change in 
> this one commit made it difficult to see what changed, and this is quite 
> a small change (really they should mention that here themselves).

I'll see what I can do, but no guarantees. It's very awkward to make two 
checkins like this back to back.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 25 January 2013 18:18:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:12 GMT