Re: :invalid

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 UTC