Example #1
0
bool HTMLTextAreaElement::tooLong() const {
  // We should not call value() for performance.
  return willValidate() && tooLong(nullptr, CheckDirtyFlag);
}
Example #2
0
bool HTMLTextAreaElement::isValidValue(const String& candidate) const
{
    return !valueMissing(candidate) && !tooLong(candidate, IgnoreDirtyFlag);
}
Example #3
0
bool ValidityState::valid() const
{
    bool someError = typeMismatch() || stepMismatch() || rangeUnderflow() || rangeOverflow()
                     || tooLong() || patternMismatch() || valueMissing() || customError();
    return !someError;
}
Example #4
0
bool HTMLTextAreaElement::tooLong() const
{
    return willValidate() && tooLong(value(), CheckDirtyFlag);
}
bool FormAssociatedElement::valid() const
{
    bool someError = typeMismatch() || stepMismatch() || rangeUnderflow() || rangeOverflow()
        || tooLong() || patternMismatch() || valueMissing() || hasBadInput() || customError();
    return !someError;
}