]> source.dussan.org Git - jquery.git/commitdiff
No ticket. Update support comments to reflect current state of affairs.
authorMichał Gołębiowski <m.goleb@gmail.com>
Wed, 21 Aug 2013 22:33:57 +0000 (00:33 +0200)
committerMichał Gołębiowski <m.goleb@gmail.com>
Sat, 7 Sep 2013 01:14:40 +0000 (03:14 +0200)
src/attributes/support.js
src/core.js
src/css.js
src/manipulation/support.js
test/unit/core.js

index aa9adf26572b9e1da873edaa92ee57dc6eec69c7..08c2caf082138a52190ef1dc6d8327560433f37f 100644 (file)
@@ -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 !== "";
 
index 4103b38326a883634233a4a32f6b037de811ff21..175208c2d9245cc85890c9d4dc9b4dbf3c58ef02 100644 (file)
@@ -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;
index a3b9c935b49881161f130eb258409b9c497e1b5a..372924d06b45dc198fb749893989d8b19985ed6e 100644 (file)
@@ -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 ) ) {
 
index 62c932c11f9dd858047fc5393b7195a4ae351255..7435de7d9e7b4cd6d11c94508fa9eb4fd6606b1c 100644 (file)
@@ -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;
 })();
index da353b464f85565c5bda27c77f01ce0eac4ad4b0..f009074271f4d01ab016cab3a2eca69b2f07e77a 100644 (file)
@@ -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+")" );