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

Re: :invalid

From: Ryan Seddon <seddon.ryan@gmail.com>
Date: Sun, 26 Sep 2010 10:13:24 +1000
Message-ID: <AANLkTikJNRohkFN6DUDuYHd2DLr6vy=pCLiWOoWM+XUR@mail.gmail.com>
To: Jonas Sicking <jonas@sicking.cc>
Cc: Anne van Kesteren <annevk@opera.com>, Mounir Lamouri <mounir.lamouri@gmail.com>, www-style@w3.org
On Sat, Sep 25, 2010 at 7:12 PM, Jonas Sicking <jonas@sicking.cc> wrote:

> This doesn't really change much, if anything, of my arguments
> previously in the thread though.
>
> At that point why not also add "and is invalid" to the set of
> requirements for matching this new pseduo class and make it actually
> useful in and of itself?
>

Why not remove the invalid pseudo-class from matching against controls that
are just required, since we already have the :required pseudo-class for
that. That way for control types that require more than just having a value
or a control with a pattern attribute would have the :invalid pseudo-class
match when it is useful to a developer?
Received on Sunday, 26 September 2010 00:42:08 GMT

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