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
This commit is contained in:
John Dai 2019-11-19 17:02:38 +00:00
parent a9103e960f
commit 375a7b3faf

View File

@ -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.