@@ -48241,6 +48241,10 @@ interface <dfn interface>HTMLInputElement</dfn> : <span>HTMLElement</span> {
48241
48241
<li><p>Run <var>element</var>'s <dfn>input activation behavior</dfn>, if any, and do nothing
48242
48242
otherwise.</p></li>
48243
48243
48244
+ <li><p>If <var>element</var> has a <span>form owner</span> and <var>element</var>'s <span
48245
+ data-x="attr-input-type">type</span> attribute is not in the <span
48246
+ data-x="attr-input-type-button">Button</span> state, then return.</p></li>
48247
+
48244
48248
<li><p>Run the <span>popover target attribute activation behavior</span> given <var>element</var>
48245
48249
and <var>event</var>'s <span data-x="concept-event-target">target</span>.</p></li>
48246
48250
</ol>
@@ -53578,12 +53582,17 @@ interface <dfn interface>HTMLButtonElement</dfn> : <span>HTMLElement</span> {
53578
53582
then <span data-x="concept-form-submit">submit</span> <var>element</var>'s
53579
53583
<span>form owner</span> from <var>element</var> with <i
53580
53584
data-x="submit-user-involvement">userInvolvement</i> set to <var>event</var>'s <span
53581
- data-x="event-uni">user navigation involvement</span>.</p></li>
53585
+ data-x="event-uni">user navigation involvement</span>, and return .</p></li>
53582
53586
53583
53587
<li><p>If <var>element</var>'s <code data-x="attr-button-type">type</code> attribute is in the
53584
53588
<span data-x="attr-button-type-reset-state">Reset Button</span> state, then <span
53585
- data-x="concept-form-reset">reset</span> <var>element</var>'s
53586
- <span>form owner</span>.</p></li>
53589
+ data-x="concept-form-reset">reset</span> <var>element</var>'s <span>form owner</span>, and
53590
+ return.</p></li>
53591
+
53592
+ <li><p>If <var>element</var>'s <code data-x="attr-button-type">type</code> attribute is in the
53593
+ <span data-x="attr-button-type-auto-state">Auto</span> state, then return.</p></li>
53594
+ <!-- We do this for compatability and plan to remove this restriction in future, see
53595
+ https://github.com/whatwg/html/issues/10832 -->
53587
53596
</ol>
53588
53597
</li>
53589
53598
@@ -53595,10 +53604,6 @@ interface <dfn interface>HTMLButtonElement</dfn> : <span>HTMLElement</span> {
53595
53604
<p>If <var>target</var> is not null:</p>
53596
53605
53597
53606
<ol>
53598
- <li><p>If <var>element</var> has a <span>form owner</span> and <var>element</var>'s <code
53599
- data-x="attr-button-type">type</code> attribute is in the <span
53600
- data-x="attr-button-type-submit-state">Submit Button</span> state, then return.</p></li>
53601
-
53602
53607
<li><p>Let <var>command</var> be <var>element</var>'s <code
53603
53608
data-x="attr-button-command">command</code> attribute.</p></li>
53604
53609
0 commit comments