Sha256: 878e45afd9409194255068a7e6d79b7fb7f989c7694fb6bf928048c0a5ea455f
Contents?: true
Size: 970 Bytes
Versions: 148
Compression:
Stored size: 970 Bytes
Contents
define([ "../var/support" ], function( support ) { (function() { var input = document.createElement( "input" ), select = document.createElement( "select" ), opt = select.appendChild( document.createElement( "option" ) ); input.type = "checkbox"; // Support: iOS 5.1, Android 4.x, Android 2.3 // Check the default checkbox/radio value ("" on old WebKit; "on" elsewhere) support.checkOn = input.value !== ""; // Must access the parent to make an option select properly // Support: IE9, IE10 support.optSelected = opt.selected; // Make sure that the options inside disabled selects aren't marked as disabled // (WebKit marks them as disabled) select.disabled = true; support.optDisabled = !opt.disabled; // Check if an input maintains its value after becoming a radio // Support: IE9, IE10 input = document.createElement( "input" ); input.value = "t"; input.type = "radio"; support.radioValue = input.value === "t"; })(); return support; });
Version data entries
148 entries across 148 versions & 13 rubygems