aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichał Gołębiowski <m.goleb@gmail.com>2016-03-23 15:02:26 +0100
committerMichał Gołębiowski <m.goleb@gmail.com>2016-03-30 11:21:36 +0200
commit693f1b537b0a19cda8b7e8f5379bffa5351b8a6e (patch)
treecdac6abb995619db85db82eabe014f2ec52bc837 /src
parent622db29d9c1aed1e51586db72861a1aab4d7606f (diff)
downloadjquery-693f1b537b0a19cda8b7e8f5379bffa5351b8a6e.tar.gz
jquery-693f1b537b0a19cda8b7e8f5379bffa5351b8a6e.zip
Docs: Update support comments related to IE
All support comments were checked for Edge applicability.
Diffstat (limited to 'src')
-rw-r--r--src/ajax.js7
-rw-r--r--src/attributes/support.js4
-rw-r--r--src/attributes/val.js2
-rw-r--r--src/core.js2
-rw-r--r--src/data.js2
-rw-r--r--src/effects.js2
-rw-r--r--src/manipulation.js2
-rw-r--r--src/offset.js2
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 = /<script|<style|<link/i,
diff --git a/src/offset.js b/src/offset.js
index c378e4d37..0ff739df8 100644
--- a/src/offset.js
+++ b/src/offset.js
@@ -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 ) {