Primary eng (and PM) emails
Summary
As per spec,https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#constructing-form-data-set,
- The image button matches the algorithm 3-3 "If the field element is an input element whose type attribute is in the Image Button state,"
- 3-3-7 directs to skip following steps ("Continue"), so 3-4 "Let name be the value of the field element's name attribute" and 3-9 "Otherwise, append an entry to the form data set ..." should be skipped.
- Therefore, the constructed "form data set" should not include the value of the image button.
Motivation
Consistency with spec.
Interoperability and Compatibility Risk
Firefox and Edge does not add extra form data, if ‘value’ attribute is present with non-empty value.
Edge: Shipped
Firefox: Shipped
Safari: No Signal
Web developers: Positive
Alternative implementation suggestion for web developers
None
Usage information from UseCounter
0.0158%
OWP launch tracking bug
Entry on the feature dashboard
https://www.chromestatus.com/feature/5672688152477696
Requesting approval to remove too?
Yes, in M68.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/ea44eca6-6d27-4671-8628-5047f4f0a918%40chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAGH7WqHOpUETUSnWbMFGQGW%3DF%2BOX6WXeMej92K1h8DWerpq%2B9A%40mail.gmail.com.
Are there web platform tests covering this behavior?
Are there web platform tests covering this behavior?I didn't find any WPT test to cover this.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/8487a913-43c0-477f-b58d-58724be5cc49%40chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAARdPYdFQbVoGx_kyfkzEdu9_dR2zquC130r6Ba%3DxJTu11s8Fg%40mail.gmail.com.
|