@@ -53608,6 +53608,11 @@ interface <dfn interface>HTMLButtonElement</dfn> : <span>HTMLElement</span> {
53608
53608
<span data-x="attr-button-type-reset-state">Reset Button</span> state, then <span
53609
53609
data-x="concept-form-reset">reset</span> <var>element</var>'s
53610
53610
<span>form owner</span>.</p></li>
53611
+
53612
+ <li><p>If <var>element</var> has a <span>form owner</span> and <var>element</var>'s <code
53613
+ data-x="attr-button-type">type</code> attribute is not in the <span
53614
+ data-x="attr-button-type-button-state">Button</span> or the <span
53615
+ data-x="attr-button-type-auto-state">Auto</span> state, then return.</p></li>
53611
53616
</ol>
53612
53617
</li>
53613
53618
@@ -53619,11 +53624,6 @@ interface <dfn interface>HTMLButtonElement</dfn> : <span>HTMLElement</span> {
53619
53624
<p>If <var>target</var> is not null:</p>
53620
53625
53621
53626
<ol>
53622
- <li><p>If <var>element</var> has a <span>form owner</span> and <var>element</var>'s <code
53623
- data-x="attr-button-type">type</code> attribute is in the <span
53624
- data-x="attr-button-type-submit-state">Submit Button</span> or the <span
53625
- data-x="attr-button-type-reset-state">Reset Button</span> state, then return.</p></li>
53626
-
53627
53627
<li><p>Let <var>command</var> be <var>element</var>'s <code
53628
53628
data-x="attr-button-command">command</code> attribute.</p></li>
53629
53629
@@ -53720,17 +53720,9 @@ interface <dfn interface>HTMLButtonElement</dfn> : <span>HTMLElement</span> {
53720
53720
</ol>
53721
53721
</li>
53722
53722
53723
- <li><p>Otherwise</p>
53724
- <ol>
53725
- <li><p>If <var>element</var> has a <span>form owner</span> and <var>element</var>'s <code
53726
- data-x="attr-button-type">type</code> attribute is not in the <span
53727
- data-x="attr-button-type-button-state">Button</span>, then return.</p></li>
53728
-
53729
- <li><p>Run the <span>popover target attribute activation behavior</span> given
53730
- <var>element</var> and <var>event</var>'s <span
53731
- data-x="concept-event-target">target</span>.</p></li>
53732
- </ol>
53733
- </li>
53723
+ <li><p>Otherwise, run the <span>popover target attribute activation behavior</span> given
53724
+ <var>element</var> and <var>event</var>'s <span
53725
+ data-x="concept-event-target">target</span>.</p></li>
53734
53726
</ol>
53735
53727
53736
53728
<p>An <span data-x="HTML Elements">HTML element</span> can have specific
0 commit comments