The nsIDOMValidityState interface is the interface to a ValidityState object which represents the validity states of an element.
For more information on this interface please see http://www.whatwg.org/specs/web-apps/current-work/#validitystate