adjust htmlTest for IE behavior on changing input element type
Merging origin/gtorres/master-pending-fixHtmlTest into master