nexus site path corrected
[portal.git] / ecomp-portal-FE / client / bower_components / jquery / src / attributes / support.js
1 define( [
2         "../var/document",
3         "../var/support"
4 ], function( document, support ) {
5
6 ( function() {
7         var input = document.createElement( "input" ),
8                 select = document.createElement( "select" ),
9                 opt = select.appendChild( document.createElement( "option" ) );
10
11         input.type = "checkbox";
12
13         // Support: iOS<=5.1, Android<=4.2+
14         // Default value for a checkbox should be "on"
15         support.checkOn = input.value !== "";
16
17         // Support: IE<=11+
18         // Must access selectedIndex to make default options select
19         support.optSelected = opt.selected;
20
21         // Support: Android<=2.3
22         // Options inside disabled selects are incorrectly marked as disabled
23         select.disabled = true;
24         support.optDisabled = !opt.disabled;
25
26         // Support: IE<=11+
27         // An input loses its value after becoming a radio
28         input = document.createElement( "input" );
29         input.value = "t";
30         input.type = "radio";
31         support.radioValue = input.value === "t";
32 } )();
33
34 return support;
35
36 } );