[whatwg] More stepUp() and stepDown() comments (was: Re: Forms-related feedback)

2013-01-30 Thread Mounir Lamouri
On 08/01/13 00:47, Ian Hickson wrote: On Wed, 21 Nov 2012, Mounir Lamouri wrote: On 20/11/12 22:51, Ian Hickson wrote: On Tue, 20 Nov 2012, Mounir Lamouri wrote: At Mozilla, we think that the main use case for stepUp() and stepDown() is to create a UI with spin buttons: clicking on the up

[whatwg] Proposal: Media element - add attributes for discovery of playback rate support

2013-01-30 Thread Peter Carlson (carlsop)
Problem: The problem is that the supported playback speeds of a media element may vary per media item (e.g., an on-demand movie) and as supported by the underlying platform. Currently the application has to discover the supported speeds by trial and error or by an alternative non-HTML5 method

Re: [whatwg] More stepUp() and stepDown() comments (was: Re: Forms-related feedback)

2013-01-30 Thread Ian Hickson
On Wed, 30 Jan 2013, Mounir Lamouri wrote: Also, note that per the new spec if stepUp() or stepDown() are called with an argument that isn't 1, it's ignored if the value isn't on a valid step. So in the example above, if value=22 and you call stepDown(5), it only goes down to 20, not

Re: [whatwg] More stepUp() and stepDown() comments (was: Re: Forms-related feedback)

2013-01-30 Thread Ian Hickson
On Wed, 30 Jan 2013, Ian Hickson wrote: Mounir and I discussed this on IRC, but we didn't have enough data to come to a conclusion. [...] Does anyone have any examples of UIs that give page up and page down controls to change values that can also be set to out-of-range values so we

[whatwg] Why do we have input type='month' and input type='week'?

2013-01-30 Thread Mounir Lamouri
Hi, In my war against useless input types, I had a look at 'month' and 'week' and I am wondering what was the rationale behind having them in the HTML specifications. Regarding 'month', I mostly don't understand the use case. I can't find any situation where I am asked to input a { month, year }

Re: [whatwg] Why do we have input type='month' and input type='week'?

2013-01-30 Thread Nicolas Froidure
On 30/01/2013 21:55, Mounir Lamouri wrote: Hi, In my war against useless input types, I had a look at 'month' and 'week' and I am wondering what was the rationale behind having them in the HTML specifications. Regarding 'month', I mostly don't understand the use case. I can't find any

Re: [whatwg] Why do we have input type='month' and input type='week'?

2013-01-30 Thread Alex Bishop
On 30/01/2013 20:55, Mounir Lamouri wrote: Regarding 'month', I mostly don't understand the use case. I can't find any situation where I am asked to input a { month, year } information. Credit card expiry date? Alex -- Alex Bishop alexbis...@gmail.com