Changed error-class to invalid-class to match CSS3-property *:invalid