Do not autocreate "type" attribute on inputs

If we have markup `<input>`, DOM should not create any attribute itself.