From adfb371e4fab823d7926c621b606cbb5f0142700 Mon Sep 17 00:00:00 2001 From: Andrew Kaster Date: Wed, 5 Feb 2025 17:03:11 -0700 Subject: [PATCH] LibWeb: Reference multipage spec for form element constraints --- Libraries/LibWeb/HTML/FormAssociatedElement.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Libraries/LibWeb/HTML/FormAssociatedElement.h b/Libraries/LibWeb/HTML/FormAssociatedElement.h index 5b17111a06f..3d101bb15be 100644 --- a/Libraries/LibWeb/HTML/FormAssociatedElement.h +++ b/Libraries/LibWeb/HTML/FormAssociatedElement.h @@ -91,13 +91,13 @@ public: // https://html.spec.whatwg.org/multipage/forms.html#concept-submit-button virtual bool is_submit_button() const { return false; } - // https://html.spec.whatwg.org/#candidate-for-constraint-validation + // https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#candidate-for-constraint-validation bool is_candidate_for_constraint_validation() const; - // https://html.spec.whatwg.org/#concept-fv-valid + // https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#concept-fv-valid bool satisfies_its_constraints() const; - // https://html.spec.whatwg.org/#definitions + // https://html.spec.whatwg.org/multipage/form-control-infrastructure/#definitions virtual bool suffering_from_being_missing() const { return false; } virtual bool suffering_from_a_type_mismatch() const { return false; } virtual bool suffering_from_a_pattern_mismatch() const { return false; }