Form inputs can use the form attribute too

This should fix #376 by ensuring that form inputs are selected even if they're not within a `<form>` element, as long as they refer to one with the `form` attribute.