Skip to content

Commit 9a01180

Browse files
committed
Move steps higher up
1 parent ea2ab54 commit 9a01180

File tree

1 file changed

+8
-16
lines changed

1 file changed

+8
-16
lines changed

source

+8-16
Original file line numberDiff line numberDiff line change
@@ -53608,6 +53608,11 @@ interface <dfn interface>HTMLButtonElement</dfn> : <span>HTMLElement</span> {
5360853608
<span data-x="attr-button-type-reset-state">Reset Button</span> state, then <span
5360953609
data-x="concept-form-reset">reset</span> <var>element</var>'s
5361053610
<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>
5361153616
</ol>
5361253617
</li>
5361353618

@@ -53619,11 +53624,6 @@ interface <dfn interface>HTMLButtonElement</dfn> : <span>HTMLElement</span> {
5361953624
<p>If <var>target</var> is not null:</p>
5362053625

5362153626
<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-
5362753627
<li><p>Let <var>command</var> be <var>element</var>'s <code
5362853628
data-x="attr-button-command">command</code> attribute.</p></li>
5362953629

@@ -53720,17 +53720,9 @@ interface <dfn interface>HTMLButtonElement</dfn> : <span>HTMLElement</span> {
5372053720
</ol>
5372153721
</li>
5372253722

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>
5373453726
</ol>
5373553727

5373653728
<p>An <span data-x="HTML Elements">HTML element</span> can have specific

0 commit comments

Comments
 (0)