scalatest/scalatest — pull request #241 by matthughes (2014-02-10 01:07:25+00:00)
Title: Loosen type restrictions on input elements.

Not all browsers support some of the newer input types (email, tel, number, range, etc). input elements with an unrecognized type are to be considered as 'text'.*

For example, Firefox 27 does not recognize 'number' as input type. Firefox will literally report back 'text' as the input's 'type' attribute to Selenium. As is, you can't get at a number field without either numberField or textField in FF 27.

*
"They may not do anything special with it (you’ll see a few examples of special treatment in a moment), but browsers that don’t recognize type="email" will treat it as type="text" and render it as a plain text field. "
http://diveintohtml5.info/forms.html

"The missing value default is the Text state."
http://www.whatwg.org/specs/web-apps/current-work/multipage/the-input-element.html