Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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



Does "face" have some sort of special meaning in this context? I thought it might be related an open web implementation of Face ID.


From 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#...

https://html.spec.whatwg.org/multipage/form-control-infrastr...

https://html.spec.whatwg.org/multipage/form-control-infrastr...




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: