Design docs/spec
Specification: https://html.spec.whatwg.org/C/#the-submitevent-interface
TAG review
N/A; A trivial change on the existing feature
Summary
'submit' event, which is dispatch on form submission, gets its own interface, SubmitEvent, and it has 'submitter' property.
Motivation
Some web applications do their own form submission by preventDefault()ing 'submit' event. However, the event didn't tell which submit button triggered this submission. Adding 'submitter' property to the event enables application to refer to an entry data, the formaction attribute, the formenctype attribute, the formmethod attribute, and the formtarget attribute of the submitter button.
Risks
Interoperability and Compatibility
Compatibility: This is a small addition to an existing event. So compatibility risk is almost none.
Interoperability: A Mozilla developer is supportive. No objection from other vendors.
Firefox: Public support (https://github.com/whatwg/html/issues/3195#issue-271072906)
Edge: No public signals
Safari: No public signals
Web developers: Positive (https://github.com/whatwg/html/issues/3195)
See some comments in the issue.
Will this feature be supported on all six Blink platforms (Windows, Mac, Linux,
Chrome OS, Android, and Android WebView)?
Yes
Is this feature fully tested by web-platform-tests?
Yes
https://wpt.fyi/results/html/semantics/forms/form-submission-0/form-submission-algorithm.html?label=experimental&label=master will show new test cases.
Tracking bug
https://bugs.chromium.org/p/chromium/issues/detail?id=1014418
Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5187248926490624
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/53ba8c39-3598-4f79-8860-dbb88be2ded2%40chromium.org.
LGTM1On Sun, Dec 1, 2019 at 9:44 PM Jihwan Kim <bluewha...@gmail.com> wrote:A few lines outlining what this thing is, what's the motivation to adding it and how developers are supposed to use it would have been helpful in reviewing this.
Design docs/spec
Specification: https://html.spec.whatwg.org/C/#the-submitevent-interface
TAG review
N/A; A trivial change on the existing feature
Summary
'submit' event, which is dispatch on form submission, gets its own interface, SubmitEvent, and it has 'submitter' property.
Motivation
Some web applications do their own form submission by preventDefault()ing 'submit' event. However, the event didn't tell which submit button triggered this submission. Adding 'submitter' property to the event enables application to refer to an entry data, the formaction attribute, the formenctype attribute, the formmethod attribute, and the formtarget attribute of the submitter button.
Risks
Interoperability and Compatibility
Compatibility: This is a small addition to an existing event. So compatibility risk is almost none.
Interoperability: A Mozilla developer is supportive. No objection from other vendors.
Firefox: Public support (https://github.com/whatwg/html/issues/3195#issue-271072906)Note: This typically doesn't count as public support, but as "positive signals".To get public support from Mozilla would require opening an issue on their standard positions repo.
--Edge: No public signals
Safari: No public signalsCan you open a WebKit issue?--
Web developers: Positive (https://github.com/whatwg/html/issues/3195)
See some comments in the issue.
Will this feature be supported on all six Blink platforms (Windows, Mac, Linux,
Chrome OS, Android, and Android WebView)?
Yes
Is this feature fully tested by web-platform-tests?
Yes
https://wpt.fyi/results/html/semantics/forms/form-submission-0/form-submission-algorithm.html?label=experimental&label=master will show new test cases.
Tracking bug
https://bugs.chromium.org/p/chromium/issues/detail?id=1014418
Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5187248926490624
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/53ba8c39-3598-4f79-8860-dbb88be2ded2%40chromium.org.
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CACj%3DBEiVbxpUaR5bnEwjTqYFXRr%3DNRnZcYkK7NN6a_FiMftxQg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAFUtAY8ESQaJbEcFJtQzBN8hNefWotSzS8cfoMo6EMoATSz_%2Bg%40mail.gmail.com.
On 12/2/19 11:26 AM, Rick Byers wrote:
> LGTM2 (assuming no objections surface from other implementers as a
> result of this thread - since there isn't currently any strong signal)
Asking me is _slightly_ cheating, since I filed the spec issue asking
for this.
But in general, I don't think there are objections here on the Mozilla
side, and certainly not from me personally. Our bug that tracks
implementing this is at
https://bugzilla.mozilla.org/show_bug.cgi?id=1588715 and it looks like
generally people are planning to work on this, time permitting.
-Boris
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/44cc4022-74b8-b3e8-bf15-3ac09a6d756e%40mit.edu.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAFUtAY8%3DnbC0Cdt3JFfiFrv7RhV2S9v5s2wNeu8bj4529DyRrw%40mail.gmail.com.
----
Web developers: Positive (https://github.com/whatwg/html/issues/3195)
See some comments in the issue.
Will this feature be supported on all six Blink platforms (Windows, Mac, Linux,
Chrome OS, Android, and Android WebView)?
Yes
Is this feature fully tested by web-platform-tests?
Yes
https://wpt.fyi/results/html/semantics/forms/form-submission-0/form-submission-algorithm.html?label=experimental&label=master will show new test cases.
Tracking bug
https://bugs.chromium.org/p/chromium/issues/detail?id=1014418
Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5187248926490624
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/53ba8c39-3598-4f79-8860-dbb88be2ded2%40chromium.org.
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CACj%3DBEiVbxpUaR5bnEwjTqYFXRr%3DNRnZcYkK7NN6a_FiMftxQg%40mail.gmail.com.
The status entry is marked 'No active development'. I take it that is no longer the case?