diff options
Diffstat (limited to 'bower_components/jquery/src/attributes/support.js')
-rw-r--r-- | bower_components/jquery/src/attributes/support.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/bower_components/jquery/src/attributes/support.js b/bower_components/jquery/src/attributes/support.js index 376b54ad..5db5c521 100644 --- a/bower_components/jquery/src/attributes/support.js +++ b/bower_components/jquery/src/attributes/support.js @@ -9,21 +9,21 @@ define([ 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: iOS<=5.1, Android<=4.2+ + // Default value for a checkbox should be "on" support.checkOn = input.value !== ""; - // Must access the parent to make an option select properly - // Support: IE9, IE10 + // Support: IE<=11+ + // Must access selectedIndex to make default options select support.optSelected = opt.selected; - // Make sure that the options inside disabled selects aren't marked as disabled - // (WebKit marks them as disabled) + // Support: Android<=2.3 + // Options inside disabled selects are incorrectly marked as disabled select.disabled = true; support.optDisabled = !opt.disabled; - // Check if an input maintains its value after becoming a radio - // Support: IE9, IE10 + // Support: IE<=11+ + // An input loses its value after becoming a radio input = document.createElement( "input" ); input.value = "t"; input.type = "radio"; |