Re: Form submission participation (was Re: Goals for Shadow DOM review)

On Feb 20, 2014, at 2:51 PM, Edward O'Connor <> wrote:
>> We could even make the built-in form controls like <input> and
>> <select> have a .formData() function which returns data in whatever
>> format we decide is the right one.
> Right. toFormData() or the like, parallel to toJSON().

Do we really want a getter on element here?  Isn’t it better to model it as elements listening to “submit” event on the associated form element and calling addParticipate in the event listener?

- R. Niwa

Received on Friday, 21 February 2014 21:06:53 UTC