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

Re: :invalid pseudo class

From: Philippe Wittenbergh <ph.wittenbergh@l-c-n.com>
Date: Sat, 24 Jul 2010 14:46:35 +0900
Cc: "www-style@w3.org CSS" <www-style@w3.org>
Message-Id: <1518FC25-DCD4-4CE2-A59C-54248FDC6259@l-c-n.com>
To: Estelle Weyl <estelle@weyl.org>

On Jul 24, 2010, at 2:35 PM, Estelle Weyl wrote:

> Is there an :invalid pseudoclass? I can't find it in the documentation, but when a form field is invalid,  :invalid { background-color: red; } works. See http://standardista.com/webkit/ch6/email.html

http://www.w3.org/TR/css3-ui/#pseudo-validity

Philippe
---
Philippe Wittenbergh
http://l-c-n.com/
Received on Saturday, 24 July 2010 05:47:06 GMT

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