watir/watir-classic — pull request #71 by jkotests (2014-12-10 17:23:11+00:00)
Title:  Add HTML5 text field types

IE10 and IE11 have support for the input types number, email, url, search and tel.

As a result, they are no longer being found by the text_fields method. This is occurring due to the Watir::Locator#type_matches? method returning false:

````ruby
def type_matches?(el)
@tags == ["*"] ||
@tags.include?(el.tagName.downcase) ||
@tags.include?(el.invoke('type').downcase) rescue false
end
````

When `el.invoke('type').downcase` is called in IE9 for these input types, "text" was returned. As a result, they were found. However, with IE10/IE11 the specific input type (eg "email") is now returned, which is not in the `@tags` array. This change will update the allowed `@tags`.

This will fix Issue #68