W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2010

[whatwg] Why children of datalist elements are barred from constraint validation?

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 31 Dec 2010 02:20:07 +0000 (UTC)
Message-ID: <Pine.LNX.4.64.1012310212010.28593@ps20323.dreamhostps.com>
On Fri, 24 Sep 2010, Mounir Lamouri wrote:
> 
> I agree that a child of a datalist element should not block the form 
> submission. However, I'm wondering why do we care about this particular 
> edge case when there are a lot of situations where an element can be 
> invalid without any possible action from the user.
> 
> If there is no specific use cases in mind I think we should just remove 
> that.

It's so that you can use a <select> in the <datalist> (with the same 
<option>s) for fallback in older UAs, without that <select> having any 
effect on the form submission.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 30 December 2010 18:20:07 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:02 UTC