IValidityState
The ValidityState interface represents the validity states that an element
can be in, with respect to constraint validation. Together, they help explain
why an element's value fails to validate, if it's not valid.
namespace AngleSharp.DOM.Html
{
[DomName("ValidityState")]
public interface IValidityState
{
[DomName("valueMissing")]
bool IsValueMissing { get; }
[DomName("typeMismatch")]
bool IsTypeMismatch { get; }
[DomName("patternMismatch")]
bool IsPatternMismatch { get; }
[DomName("tooLong")]
bool IsTooLong { get; }
[DomName("rangeUnderflow")]
bool IsRangeUnderflow { get; }
[DomName("rangeOverflow")]
bool IsRangeOverflow { get; }
[DomName("stepMismatch")]
bool IsStepMismatch { get; }
[DomName("customError")]
bool IsCustomError { get; }
[DomName("valid")]
bool IsValid { get; }
}
}