From 375a7b3faffd451c5c4a4940f16c8dc3df2b7ea5 Mon Sep 17 00:00:00 2001 From: John Dai Date: Tue, 19 Nov 2019 17:02:38 +0000 Subject: [PATCH] Bug 1551758 - Update spec link and comments for CheckValidFormSubmission and CheckFormValidity; r=smaug Differential Revision: https://phabricator.services.mozilla.com/D53166 --HG-- extra : moz-landing-system : lando --- dom/html/HTMLFormElement.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dom/html/HTMLFormElement.h b/dom/html/HTMLFormElement.h index 4e1b0663509d..b72fb9da406c 100644 --- a/dom/html/HTMLFormElement.h +++ b/dom/html/HTMLFormElement.h @@ -264,6 +264,8 @@ class HTMLFormElement final : public nsGenericHTMLElement, * * @note Do not call this method if novalidate/formnovalidate is used. * @note This method might disappear with bug 592124, hopefuly. + * @see + * https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#interactively-validate-the-constraints */ bool CheckValidFormSubmission(); @@ -476,7 +478,7 @@ class HTMLFormElement final : public nsGenericHTMLElement, /** * Check the form validity following this algorithm: - * http://www.whatwg.org/specs/web-apps/current-work/#statically-validate-the-constraints + * https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#statically-validate-the-constraints * * @param aInvalidElements [out] parameter containing the list of unhandled * invalid controls.