pub fn submits_its_form(node: i64) -> bool
Whether activating node submits its form: a <button> of type submit (a button’s type when it names none), or an <input> of type submit or image.
node
<button>
submit
<input>
image