AngleSharp by Florian Rappl

<PackageReference Include="AngleSharp" Version="0.8.9" />

.NET API 1,181,184 bytes

 IValidityState

public interface 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.
bool IsBadInput { get; }

Gets if the value is regarded is invalid input.

bool IsCustomError { get; }

Gets the element's custom validity message.

bool IsPatternMismatch { get; }

Gets if the value does not match the specified pattern.

bool IsRangeOverflow { get; }

Gets if the value is greater than the maximum specified by the max attribute.

bool IsRangeUnderflow { get; }

Gets if the value is less than the minimum specified by the min attribute.

bool IsStepMismatch { get; }

Gets if the value does not fit the rules determined by the step attribute (that is, it's not evenly divisible by the step value).

bool IsTooLong { get; }

Gets if the value exceeds the specified maxlength.

bool IsTooShort { get; }

Gets if the value is below the specified minlength.

bool IsTypeMismatch { get; }

Gets if the value is not in the required syntax (when type is email or url).

bool IsValid { get; }

Gets if the element meets all constraint validations, and is therefore considered to be valid.

bool IsValueMissing { get; }

Gets if the element has a required attribute, but no value.