Skip to content

Commit

Permalink
Fix button type getter steps
Browse files Browse the repository at this point in the history
Buttons in the Auto state that are submit buttons now reflect to submit correctly
  • Loading branch information
lukewarlow committed Feb 19, 2025
1 parent 81fa58f commit 916898b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -53801,6 +53801,9 @@ interface <dfn interface>HTMLButtonElement</dfn> : <span>HTMLElement</span> {
state and <span>this</span> is not a <span data-x="concept-submit-button">submit button</span>,
then return "<code data-x="">button</code>".</p></li>

<li><p>If <var>state</var> is in the <span data-x="attr-button-type-auto-state">Auto</span>
state, then return "<code data-x="">submit</code>".</p></li>

<li><p>Return the keyword value corresponding to <var>state</var>.</p></li>
</ol>

Expand Down

0 comments on commit 916898b

Please sign in to comment.