From ab7246df3794e69de4fa7521fe6cc2017d39a955 Mon Sep 17 00:00:00 2001
From: Luke Warlow value
attribute, if there is one, or null
+ otherwise.
The element's input activation behavior given event is as follows:
The value
attribute gives the element's value for the purposes of form submission. The element's value is the value of the element's value
attribute, if there is one, or the empty string
+ data-x="attr-button-value">value attribute, if there is one, or the empty string otherwise.
+ The element's optional value is the value of the
+ element's value
attribute, if there is one, or null
otherwise.
A button (and its value) is only included in the form submission if the button @@ -56648,6 +56654,11 @@ interface HTMLLegendElement : HTMLElement { default value. If it is false, value mirrors the default value. If it is true, the default value is ignored.
+Some form controls also have an optional value + this largely mirrors the value but doesn't normalize to an + empty string. This should be used sparingly you generally + want value.
+input
, textarea
, and select
elements have a
user validity boolean. It is initially set to false.
Otherwise, if submitter has a value, - then set result to that value.
Otherwise, if submitter has an optional value, then set result to that + optional value.
Close the dialog subject with result.
Let value be invoker's value.
Close the dialog element with value.
Some form controls also have an optional value this largely mirrors the value but doesn't normalize to an - empty string. This should be used sparingly you generally - want value.
+ empty string. This ought to be used sparingly, you generally want value.input
, textarea
, and select
elements have a
user validity boolean. It is initially set to false.
Otherwise, if submitter has an optional value, then set result to that - optional value.
Otherwise, if submitter is a submit + button, then set result to submitter's optional value.
Close the dialog subject with result.
value
attribute, if there is one, or null
- otherwise.
+ the element's value
attribute, if there is one; otherwise
+ null.
The element's input activation behavior given event is as follows:
@@ -53869,10 +53869,10 @@ interface HTMLButtonElement : HTMLElement {The value
attribute gives the element's value for the purposes of form submission. The element's value is the value of the element's value
attribute, if there is one, or the empty string otherwise.
+ data-x="attr-button-value">value attribute, if there is one; otherwise the empty string.
The element's optional value is the value of the
- element's value
attribute, if there is one, or null
- otherwise.
value
attribute, if there is one; otherwise
+ null.
A button (and its value) is only included in the form submission if the button itself was used to initiate the form submission.