From 693f1b537b0a19cda8b7e8f5379bffa5351b8a6e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20Go=C5=82=C4=99biowski?= Date: Wed, 23 Mar 2016 15:02:26 +0100 Subject: [PATCH] Docs: Update support comments related to IE All support comments were checked for Edge applicability. --- src/ajax.js | 7 ++++--- src/attributes/support.js | 4 ++-- src/attributes/val.js | 2 +- src/core.js | 2 +- src/data.js | 2 +- src/effects.js | 2 +- src/manipulation.js | 2 +- src/offset.js | 2 +- 8 files changed, 12 insertions(+), 11 deletions(-) diff --git a/src/ajax.js b/src/ajax.js index a71428580..436933159 100644 --- a/src/ajax.js +++ b/src/ajax.js @@ -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 !== diff --git a/src/attributes/support.js b/src/attributes/support.js index f93ba0181..16c8fcb82 100644 --- a/src/attributes/support.js +++ b/src/attributes/support.js @@ -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"; diff --git a/src/attributes/val.js b/src/attributes/val.js index 1338fcdf6..ace17040b 100644 --- a/src/attributes/val.js +++ b/src/attributes/val.js @@ -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 diff --git a/src/core.js b/src/core.js index d2c0da0b6..e86ae2048 100644 --- a/src/core.js +++ b/src/core.js @@ -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 ); diff --git a/src/data.js b/src/data.js index 9c296ef62..80e8bacf5 100644 --- a/src/data.js +++ b/src/data.js @@ -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; diff --git a/src/effects.js b/src/effects.js index 47a632c9f..1c7e2c2f8 100644 --- a/src/effects.js +++ b/src/effects.js @@ -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 ]; diff --git a/src/manipulation.js b/src/manipulation.js index 0d1021962..7d4fc295b 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -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 = /