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

Re: :invalid

From: Anne van Kesteren <annevk@opera.com>
Date: Fri, 24 Sep 2010 20:30:06 +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.vjju0eoh64w2qv@anne-van-kesterens-macbook-pro.local>
On Fri, 24 Sep 2010 19:57:41 +0200, Jonas Sicking <jonas@sicking.cc> wrote:
> The question is, what would the use case for :invalid be then?

Easily selecting all controls that are invalid irrespective of UA UI  
decisions? It's tricky. Thinking about it some more I do not really like  
the :invalid-ui idea either. It is too unpredictable. Having more  
concretely defined pseudo-classes and allowing UAs to play around with  
them in their UA stylesheet seems better.

Simon suggested having something like :dirty that would select controls  
that have been edited or are in a form after it has been attempted to  
submit that form.


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Friday, 24 September 2010 18:31:14 GMT

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