input elements have type=text by default

PR for https://github.com/Raynos/min-document/issues/12