W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2011

[whatwg] Submit controls should be barred from constraint validation in favor of a new pseudo-class

From: Mounir Lamouri <mounir.lamouri@gmail.com>
Date: Tue, 03 May 2011 11:04:53 +0000
Message-ID: <4DBFE155.40008@gmail.com>
On 05/02/2011 10:44 PM, Ian Hickson wrote:
> On Fri, 31 Dec 2010, Mounir Lamouri wrote:
>> On 12/31/2010 02:20 AM, Ian Hickson wrote:
>>> far as I can tell. Anything that's visible and submitted is a candidate
>>> for constraint validation.
>> Except<keygen>  and<object>.
>> But do we agree that "it's visible and submittable so it should be able
>> to be invalid" is not a sane rule? At least, we should not include
>> non-editable but visible submittable controls like submit controls.
> This only affects people who go out of their way to make submit controls
> invalid, right? I guess I don't really care one way or the other, but it
> seems easier all around to just make things as consistent as possible and
> just allow it.
> At the end of the day, on this, I'll spec whatever gets implemented. Do we
> have multiple implementations one way or the other yet?

Opera 11.20 allows submit controls to be invalid and Gecko (since 2.0) 
does not. I haven't check Webkit but IIRC, it has the same behavior as 

Received on Tuesday, 3 May 2011 04:04:53 UTC

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