input elements have type=text by default

PR for https://github.com/Raynos/min-document/issues/12
can you add this to `test-document.js` instead ?