@@ -43117,6 +43117,7 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
43117
43117
<a href="#dom-form-nameditem">getter</a> (<span>RadioNodeList</span> or <span>Element</span>) (DOMString name);
43118
43118
43119
43119
void <span data-x="dom-form-submit">submit</span>();
43120
+ void <span data-x="dom-form-requestSubmit">requestSubmit</span>(optional <span>HTMLElement</span> submitter);
43120
43121
[<span>CEReactions</span>] void <span data-x="dom-form-reset">reset</span>();
43121
43122
boolean <span data-x="dom-form-checkValidity">checkValidity</span>();
43122
43123
boolean <span data-x="dom-form-reportValidity">reportValidity</span>();
@@ -43228,7 +43229,30 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
43228
43229
43229
43230
<dd>
43230
43231
43231
- <p>Submits the form.</p>
43232
+ <p>Submits the form, bypassing <span data-x="interactively validate the constraints">interactive
43233
+ constraint validation</span> and without firing a <code data-x="event-submit">submit</code>
43234
+ event.</p>
43235
+
43236
+ </dd>
43237
+
43238
+ <dt><var>form</var> . <code subdfn data-x="dom-form-requestSubmit">requestSubmit</code>( [ <var>submitter</var> ] )</dt>
43239
+
43240
+ <dd>
43241
+
43242
+ <p>Requests to submit the form. Unlike <code data-x="dom-form-submit">submit()</code>, this
43243
+ method includes <span data-x="interactively validate the constraints">interactive constraint
43244
+ validation</span> and firing a <code data-x="event-submit">submit</code> event, either of which
43245
+ can cancel submission.</p>
43246
+
43247
+ <p>The <var>submitter</var> argument can be used to point to a specific <span
43248
+ data-x="concept-submit-button">submit button</span>, whose <code
43249
+ data-x="attr-fs-formaction">formaction</code>, <code
43250
+ data-x="attr-fs-formenctype">formenctype</code>, <code
43251
+ data-x="attr-fs-formmethod">formmethod</code>, <code
43252
+ data-x="attr-fs-formnovalidate">formnovalidate</code>, and <code
43253
+ data-x="attr-fs-formtarget">formtarget</code> attributes can impact submission. Additionally,
43254
+ the submitter will be included when <span>constructing the entry list</span> for submission;
43255
+ normally, buttons are excluded.</p>
43232
43256
43233
43257
</dd>
43234
43258
@@ -43458,6 +43482,28 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
43458
43482
element itself, with the <var>submitted from <code
43459
43483
data-x="dom-form-submit">submit()</code> method</var> flag set.</p>
43460
43484
43485
+ <p>The <dfn><code data-x="dom-form-requestSubmit">requestSubmit(<var>submitter</var>)</code></dfn>
43486
+ method, when invoked, must run the following steps:</p>
43487
+
43488
+ <ol>
43489
+ <li>
43490
+ <p>If <var>submitter</var> was given, then:</p>
43491
+
43492
+ <ol>
43493
+ <li><p>If <var>submitter</var> is not a <span data-x="concept-submit-button">submit
43494
+ button</span>, then throw a <code>TypeError</code>.</p></li>
43495
+
43496
+ <li><p>If <var>submitter</var>'s <span>form owner</span> is not this <code>form</code> element,
43497
+ then throw a <span>"<code>NotFoundError</code>"</span> <code>DOMException</code>.</p></li>
43498
+ </ol>
43499
+ </li>
43500
+
43501
+ <li><p>Otherwise, set <var>submitter</var> to this <code>form</code> element.</p></li>
43502
+
43503
+ <li><p><span data-x="concept-form-submit">Submit</span> this <code>form</code> element, from
43504
+ <var>submitter</var>.</p></li>
43505
+ </ol>
43506
+
43461
43507
<p>The <dfn><code data-x="dom-form-reset">reset()</code></dfn> method, when invoked, must run the
43462
43508
following steps:</p>
43463
43509
@@ -123125,6 +123171,7 @@ INSERT INTERFACES HERE
123125
123171
Malcolm Rowe,
123126
123172
Manish Goregaokar,
123127
123173
Manish Tripathi,
123174
+ Manuel Martinez-Almeida,
123128
123175
Marc Hoyois,
123129
123176
Marc-André Choquette, <!-- eel-in-a-hovercraft on GitHub -->
123130
123177
Marc-André Lafortune,
@@ -123214,6 +123261,7 @@ INSERT INTERFACES HERE
123214
123261
Mounir Lamouri,
123215
123262
Ms2ger,
123216
123263
mtrootyy,
123264
+ 邱慕安 (Mu-An<!--grammar-check-override--> Chiou),
123217
123265
Mukilan Thiyagarajan,
123218
123266
Mustaq Ahmed,
123219
123267
Nadia Heninger,
0 commit comments