Re: [w3c/webcomponents] Need callback for form submit data (#187)

Re: reset callback
I wonder whether we should use [custom element reaction queue](https://html.spec.whatwg.org/multipage/custom-elements.html#custom-element-reaction-queue) for the reset callback.  Pressing input[type=reset] doesn't go through any IDL attributes and operations, so there is no ways to add ```[CEReactions]```.  If we use custom element reaction queue for it, we need to copy [CEReactions steps](https://html.spec.whatwg.org/multipage/custom-elements.html#custom-element-reactions:cereactions-3) into [reset algorithm](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#concept-form-reset) in order to invoke queued reset callbacks?

@atishay Since Google Chrome 73.0.3665.0 canary, ```setFormValue('foo', new FormData())``` won't submit anything for the element.  https://jsfiddle.net/int32_t/dep4Lyhj/4/ demonstrates it.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/187#issuecomment-452257711

Received on Tuesday, 8 January 2019 10:55:21 UTC