[w3c/webcomponents] Form-associated custom elements: being a submit button (#814)

See discussion starting around https://github.com/w3c/webcomponents/issues/187#issuecomment-487168041.

If you want your FACE to be a submit button, which means:

- Can be selected by `:default`
- Can be automatically clicked by the implicit submission of other form elements

you currently cannot.

A strawperson proposal would be to add a `submitButton` boolean to `ElementInternals`. Then custom submit buttons would just do `this.#internals.submitButton = true`.

-- 
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/814

Received on Thursday, 16 May 2019 21:02:22 UTC