W3C home > Mailing lists > Public > www-style@w3.org > September 2010

Re: :invalid

From: Anne van Kesteren <annevk@opera.com>
Date: Sat, 25 Sep 2010 10:18:13 +0200
To: "Jonas Sicking" <jonas@sicking.cc>
Cc: "Ryan Seddon" <seddon.ryan@gmail.com>, "Mounir Lamouri" <mounir.lamouri@gmail.com>, www-style@w3.org
Message-ID: <op.vjkxcnjl64w2qv@anne-van-kesterens-macbook-pro.local>
On Fri, 24 Sep 2010 23:28:44 +0200, Jonas Sicking <jonas@sicking.cc> wrote:
> So to implement the current set of rules, we'd need the following
> three pseudo classes:
>
> :dirty
> Matches if user has modified value of control
>
> :has-been-invalid-and-unfocused
> Matches if the control was ever unfocused and invalid at the same
> time. Even if it later has become valid or focused
>
> :belongs-to-form-which-has-been-submitted
> The user has attempted to submit the <form> which is the elements .form

I think Simon's idea was to have just one pseudo-class. I.e. either  
modified and unfocused or in a form that has been submitted.


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Saturday, 25 September 2010 08:19:19 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:31 GMT