Skip to content

Commit d7d2e9d

Browse files
committed
dont allow parent select for default submit button
1 parent 3a3954b commit d7d2e9d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source

+2-1
Original file line numberDiff line numberDiff line change
@@ -60372,7 +60372,8 @@ fur
6037260372

6037360373
<p>A <code>form</code> element's <dfn>default button</dfn> is the first <span
6037460374
data-x="concept-submit-button">submit button</span> in <span>tree order</span> whose <span>form
60375-
owner</span> is that <code>form</code> element.</p>
60375+
owner</span> is that <code>form</code> element and whose <span>parent</span> node is not a
60376+
<code>select</code> element.</p>
6037660377

6037760378
<p>If the user agent supports letting the user submit a form implicitly (for example, on some
6037860379
platforms hitting the "enter" key while a text control is <span>focused</span> implicitly submits

0 commit comments

Comments
 (0)