2 ms·
Say you want to have a custom button element. You cant give it a `type=submit` whilst you can set that on <input> and <button> Also if you have a face that wra
by arianvanp 8mo ago
Say you want to have a custom button element. You cant give it a `type=submit` whilst you can set that on <input> and <button>
Also if you have a face that wraps a button of type submit. The submit doesn't propagate due to shadow dom
- cpburns2009 8mo agoDoes "face" have some sort of special meaning in this context? I thought it might be related an open web implementation of Face ID.
- JimDabell 8mo agoFrom the title of the issue: “Form-associated custom elements”. They are talking about the mechanism by which a custom element can have its value included when you submit a form. Here’s the spec.: https://html.spec.whatwg.org/multipage/custom-elements.html#form-associated-custom-element https://html.spec.whatwg.org/multipage/custom-elements.html#... https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#association-of-controls-and-forms https://html.spec.whatwg.org/multipage/form-control-infrastr... https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#constructing-form-data-set https://html.spec.whatwg.org/multipage/form-control-infrastr...