mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 10:48:41 +00:00
LibWeb: Remove unintentional recursion in ValidityState::valid
This commit is contained in:
committed by
Jelle Raaijmakers
parent
8e3798b25e
commit
dd8cca180f
@@ -109,7 +109,7 @@ bool ValidityState::custom_error() const
|
||||
// https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#dom-validitystate-valid
|
||||
bool ValidityState::valid() const
|
||||
{
|
||||
return !(value_missing() || type_mismatch() || pattern_mismatch() || too_long() || too_short() || range_underflow() || range_overflow() || step_mismatch() || bad_input() || custom_error() || valid());
|
||||
return !(value_missing() || type_mismatch() || pattern_mismatch() || too_long() || too_short() || range_underflow() || range_overflow() || step_mismatch() || bad_input() || custom_error());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user