3 ms·
It's not in the DOM, from memory chrome dev tools even shows a closing form tag where it's been inserted. I have no idea how it's implemented internally. Confu
by samwillis 4y ago
It's not in the DOM, from memory chrome dev tools even shows a closing form tag where it's been inserted. I have no idea how it's implemented internally.
Confuse me for a while when debugging a legacy website. It had actually been done intentionally to work around a rather complex architecture.
- laszlokorte 4y agoThere exists a "form"-attribute for input elements that can be used to associate input elements outside the form hierarchy to be included in the form submission. So the semantics of "form field outside the actual form" are available anyway. When parsing a not-closed <form> the browsers just make use of that.