mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
No ticket. Update support comments to reflect current state of affairs.
This commit is contained in:
parent
0ed397d803
commit
eb9cbfcaf6
@ -9,7 +9,7 @@ define([
|
||||
|
||||
input.type = "checkbox";
|
||||
|
||||
// Support: Safari 5.1, iOS 5.1, Android 4.x, Android 2.3
|
||||
// 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 !== "";
|
||||
|
||||
|
@ -342,7 +342,7 @@ jQuery.extend({
|
||||
if ( obj == null ) {
|
||||
return String( obj );
|
||||
}
|
||||
// Support: Safari <= 5.1 (functionish RegExp)
|
||||
// Support: Android < 4.0, iOS < 6 (functionish RegExp)
|
||||
return typeof obj === "object" || typeof obj === "function" ?
|
||||
class2type[ toString.call(obj) ] || "object" :
|
||||
typeof obj;
|
||||
|
@ -303,9 +303,9 @@ curCSS = function( elem, name, _computed ) {
|
||||
ret = jQuery.style( elem, name );
|
||||
}
|
||||
|
||||
// Support: Safari 5.1
|
||||
// Support: iOS < 6
|
||||
// A tribute to the "awesome hack by Dean Edwards"
|
||||
// Safari 5.1.7 (at least) returns percentage for a larger set of values, but width seems to be reliably pixels
|
||||
// iOS < 6 (at least) returns percentage for a larger set of values, but width seems to be reliably pixels
|
||||
// this is against the CSSOM draft spec: http://dev.w3.org/csswg/cssom/#resolved-values
|
||||
if ( rnumnonpx.test( ret ) && rmargin.test( name ) ) {
|
||||
|
||||
|
@ -19,7 +19,7 @@ define([
|
||||
|
||||
fragment.appendChild( input );
|
||||
|
||||
// Support: Safari 5.1, Android 4.x, Android 2.3
|
||||
// Support: iOS 5.1, Android 4.x, Android 2.3
|
||||
// old WebKit doesn't clone checked state correctly in fragments
|
||||
support.checkClone = fragment.cloneNode( true ).cloneNode( true ).lastChild.checked;
|
||||
})();
|
||||
|
@ -383,7 +383,6 @@ test("isFunction", function() {
|
||||
ok( !jQuery.isFunction( 0 ), "0 Value" );
|
||||
|
||||
// Check built-ins
|
||||
// Safari uses "(Internal Function)"
|
||||
ok( jQuery.isFunction(String), "String Function("+String+")" );
|
||||
ok( jQuery.isFunction(Array), "Array Function("+Array+")" );
|
||||
ok( jQuery.isFunction(Object), "Object Function("+Object+")" );
|
||||
|
Loading…
Reference in New Issue
Block a user