Fix more support tests (support.input should only be false in IE8 and checkClone as it is now used is fine in IE)

This commit is contained in:
Timmy Willison
2013-09-11 17:23:17 -05:00
parent d092a88e85
commit 1a9f8d9bb1
3 changed files with 12 additions and 16 deletions

View File

@@ -44,8 +44,9 @@ define([
select.disabled = true;
support.optDisabled = !opt.disabled;
// Support: IE8 only
// Check if we can trust getAttribute("value")
input = document.createElement("input");
input = document.createElement( "input" );
input.setAttribute( "value", "" );
support.input = input.getAttribute( "value" ) === "";