Bug 1850295 - Update :user-{valid,invalid} to follow the spec. r=smaug
(Modulo open spec issues linked in comments) Differential Revision: https://phabricator.services.mozilla.com/D196986
This commit is contained in:
@@ -233,16 +233,7 @@ class HTMLFormElement final : public nsGenericHTMLElement,
|
||||
* @param aFormData the form data object
|
||||
*/
|
||||
// TODO: Convert this to MOZ_CAN_RUN_SCRIPT (bug 1415230)
|
||||
MOZ_CAN_RUN_SCRIPT_BOUNDARY nsresult ConstructEntryList(FormData* aFormData);
|
||||
|
||||
/**
|
||||
* Whether the submission of this form has been ever prevented because of
|
||||
* being invalid.
|
||||
*
|
||||
* @return Whether the submission of this form has been prevented because of
|
||||
* being invalid.
|
||||
*/
|
||||
bool HasEverTriedInvalidSubmit() const { return mEverTriedInvalidSubmit; }
|
||||
MOZ_CAN_RUN_SCRIPT_BOUNDARY nsresult ConstructEntryList(FormData*);
|
||||
|
||||
/**
|
||||
* Implements form[name]. Returns form controls in this form with the correct
|
||||
|
||||
Reference in New Issue
Block a user