- From: Ian Hickson <ian@hixie.ch>
- Date: Tue, 14 Jun 2011 21:02:41 +0000 (UTC)
On Mon, 14 Mar 2011, Mounir Lamouri wrote: > > Currently, the specs say that select(), selectionStart, selectionEnd and > setSelectionRange() only apply to the input element when the type is > text, search, url, telephone or password. Obviously, they should also > apply when type is email [1]. > [1] See http://www.w3.org/Bugs/Public/show_bug.cgi?id=12262 I don't think it's obvious, as noted in that bug. :-) > But, I'm wondering what should be done for types that should come with a > widget like date, datetime, datetime-local, time, week, month, number, > range or color. The resulting widget might have a text field. That's > even very likely for all time-related and number types. Should those IDL > attribute and methods apply in that case and be used on the text field? > or should we just ignore them? Or maybe, we could have them apply > depending on the UA's widget and not raise an exception when they do not > apply [2] and do nothing instead? > > [2] Actually, that's another issue but I wonder why we raise an > exception... What is the use case here? -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 14 June 2011 14:02:41 UTC