- From: Jonathan Snook <jonathan@snook.ca>
- Date: Wed, 31 Aug 2011 14:04:34 -0400
- To: www-style@w3.org
- Cc: Peter Gasston <pgasston@gmail.com>
> Forms that are validated in HTML5 display a message if errors are found during validation . Currently these error messages are given default styles by the browser, but there will be a requirement for developers to over-rule those styles. For more finer-grained control over invalid fields, could you not use the CSS3 UI pseudo classes? http://www.w3.org/TR/css3-ui/ input:required:invalid + .error { } This way you could customize the messaging any way you wish. Jonathan.
Received on Wednesday, 31 August 2011 18:05:09 UTC