]> source.dussan.org Git - jquery.git/commitdiff
Docs: Update support comments related to IE
authorMichał Gołębiowski <m.goleb@gmail.com>
Wed, 23 Mar 2016 14:02:26 +0000 (15:02 +0100)
committerMichał Gołębiowski <m.goleb@gmail.com>
Wed, 30 Mar 2016 09:21:36 +0000 (11:21 +0200)
All support comments were checked for Edge applicability.

src/ajax.js
src/attributes/support.js
src/attributes/val.js
src/core.js
src/data.js
src/effects.js
src/manipulation.js
src/offset.js

index a7142858094d0482abd249d24a84dcb0f0b77bff..436933159a2612ed36a0aa335d77b7e26f5fe7c6 100644 (file)
@@ -535,12 +535,13 @@ jQuery.extend( {
                if ( s.crossDomain == null ) {
                        urlAnchor = document.createElement( "a" );
 
-                       // Support: IE8-11+
-                       // IE throws exception if url is malformed, e.g. http://example.com:80x/
+                       // Support: IE <=8 - 11, Edge 12 - 13
+                       // IE throws exception on accessing the href property if url is malformed,
+                       // e.g. http://example.com:80x/
                        try {
                                urlAnchor.href = s.url;
 
-                               // Support: IE8-11+
+                               // Support: IE <=8 - 11 only
                                // Anchor's host property isn't correctly set when s.url is relative
                                urlAnchor.href = urlAnchor.href;
                                s.crossDomain = originAnchor.protocol + "//" + originAnchor.host !==
index f93ba0181612d419c3a358c6ec18293ebe6be5f5..16c8fcb82dd955e864a3177ce24621167b319792 100644 (file)
@@ -14,11 +14,11 @@ define( [
        // Default value for a checkbox should be "on"
        support.checkOn = input.value !== "";
 
-       // Support: IE<=11+
+       // Support: IE <=11 only
        // Must access selectedIndex to make default options select
        support.optSelected = opt.selected;
 
-       // Support: IE<=11+
+       // Support: IE <=11 only
        // An input loses its value after becoming a radio
        input = document.createElement( "input" );
        input.value = "t";
index 1338fcdf658c1d9a0068ea9d44f8d044560d00c9..ace17040b875dfe89d36a32566a7b306d5e43cef 100644 (file)
@@ -85,7 +85,7 @@ jQuery.extend( {
                                return val != null ?
                                        val :
 
-                                       // Support: IE10-11+
+                                       // Support: IE <=10 - 11 only
                                        // option.text throws exceptions (#14686, #14858)
                                        // Strip and collapse whitespace
                                        // https://html.spec.whatwg.org/#strip-and-collapse-whitespace
index d2c0da0b66ea4a429bb107f653902f5d31cdde20..e86ae2048a9856de8d37ca5594bbb9ff94a103f9 100644 (file)
@@ -274,7 +274,7 @@ jQuery.extend( {
        },
 
        // Convert dashed to camelCase; used by the css and data modules
-       // Support: IE9-11+
+       // Support: IE <=9 - 11, Edge 12 - 13
        // Microsoft forgot to hump their vendor prefix (#9572)
        camelCase: function( string ) {
                return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase );
index 9c296ef623059dd707ab55d4b9fc676477dcac89..80e8bacf55efb4a719c501fed85280629824bbee 100644 (file)
@@ -87,7 +87,7 @@ jQuery.fn.extend( {
                                        i = attrs.length;
                                        while ( i-- ) {
 
-                                               // Support: IE11+
+                                               // Support: IE 11 only
                                                // The attrs elements can be null (#14894)
                                                if ( attrs[ i ] ) {
                                                        name = attrs[ i ].name;
index 47a632c9f0c4252fe4b469c84731ead838289b94..1c7e2c2f82ad234a90dfcbfa209e7ffae2a9d27d 100644 (file)
@@ -142,7 +142,7 @@ function defaultPrefilter( elem, props, opts ) {
        // Restrict "overflow" and "display" styles during box animations
        if ( isBox && elem.nodeType === 1 ) {
 
-               // Support: IE 9 - 11
+               // Support: IE <=9 - 11, Edge 12 - 13
                // Record all 3 overflow attributes because IE does not infer the shorthand
                // from identically-valued overflowX and overflowY
                opts.overflow = [ style.overflow, style.overflowX, style.overflowY ];
index 0d10219621d0b9b73d0724afb94e1777bcd72fbb..7d4fc295be4932bc7d9996f491ed8153db9d7448 100644 (file)
@@ -29,7 +29,7 @@ define( [
 var
        rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,
 
-       // Support: IE 10-11, Edge 10240+
+       // Support: IE <=10 - 11, Edge 12 - 13
        // In IE/Edge using regex groups here causes severe slowdowns.
        // See https://connect.microsoft.com/IE/feedback/details/1736512/
        rnoInnerhtml = /<script|<style|<link/i,
index c378e4d37262e96def96d74aa036436edb9c0345..0ff739df8617126e2a38324f5cec711d898c4598 100644 (file)
@@ -91,7 +91,7 @@ jQuery.fn.extend( {
                        return;
                }
 
-               // Support: IE<=11+
+               // Support: IE <=11 only
                // Running getBoundingClientRect on a
                // disconnected node in IE throws an error
                if ( !elem.getClientRects().length ) {