File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -79089,8 +79089,7 @@ dictionary <dfn dictionary>AttachInternalsOptions</dfn> {
7908979089 <span>"<code>NotSupportedError</code>"</span> <code>DOMException</code>.</p></li>
7909079090
7909179091 <li><p>If <var>element</var> <span data-x="has-behavior">has a behavior</span> of type
79092- <code>HTMLSubmitButtonBehavior</code>, then throw a
79093- <span>"<code>NotSupportedError</code>"</span> <code>DOMException</code>.</p></li>
79092+ <code>HTMLSubmitButtonBehavior</code>, then return.</p></li>
7909479093
7909579094 <li><p>Set <var>element</var>'s <span
7909679095 data-x="face-submission-value">submission value</span> to <var>value</var> if <var>value</var> is
@@ -79110,6 +79109,14 @@ dictionary <dfn dictionary>AttachInternalsOptions</dfn> {
7911079109 </ol>
7911179110 </div>
7911279111
79112+ <p class="note">For elements with <code>HTMLSubmitButtonBehavior</code>, <code
79113+ data-x="dom-ElementInternals-setFormValue">setFormValue()</code> returns without modifying the
79114+ element's <span data-x="face-submission-value">submission value</span>. During form submission,
79115+ the <span data-x="constructing the entry list">construct the entry list</span> algorithm uses the
79116+ behavior's <span data-x="behavior-name">name</span> and <span
79117+ data-x="behavior-value">value</span> instead, mirroring how native submit buttons contribute their
79118+ name/value pair only when they are the submitter.</p>
79119+
7911379120 <hr>
7911479121
7911579122 <p>Each <span>form-associated custom element</span> has validity flags named
You can’t perform that action at this time.
0 commit comments