Skip to content

Commit 693f1b5

Browse files
committed
Docs: Update support comments related to IE
All support comments were checked for Edge applicability.
1 parent 622db29 commit 693f1b5

File tree

8 files changed

+12
-11
lines changed

8 files changed

+12
-11
lines changed

src/ajax.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -535,12 +535,13 @@ jQuery.extend( {
535535
if ( s.crossDomain == null ) {
536536
urlAnchor = document.createElement( "a" );
537537

538-
// Support: IE8-11+
539-
// IE throws exception if url is malformed, e.g. http://example.com:80x/
538+
// Support: IE <=8 - 11, Edge 12 - 13
539+
// IE throws exception on accessing the href property if url is malformed,
540+
// e.g. http://example.com:80x/
540541
try {
541542
urlAnchor.href = s.url;
542543

543-
// Support: IE8-11+
544+
// Support: IE <=8 - 11 only
544545
// Anchor's host property isn't correctly set when s.url is relative
545546
urlAnchor.href = urlAnchor.href;
546547
s.crossDomain = originAnchor.protocol + "//" + originAnchor.host !==

src/attributes/support.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ define( [
1414
// Default value for a checkbox should be "on"
1515
support.checkOn = input.value !== "";
1616

17-
// Support: IE<=11+
17+
// Support: IE <=11 only
1818
// Must access selectedIndex to make default options select
1919
support.optSelected = opt.selected;
2020

21-
// Support: IE<=11+
21+
// Support: IE <=11 only
2222
// An input loses its value after becoming a radio
2323
input = document.createElement( "input" );
2424
input.value = "t";

src/attributes/val.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jQuery.extend( {
8585
return val != null ?
8686
val :
8787

88-
// Support: IE10-11+
88+
// Support: IE <=10 - 11 only
8989
// option.text throws exceptions (#14686, #14858)
9090
// Strip and collapse whitespace
9191
// https://html.spec.whatwg.org/#strip-and-collapse-whitespace

src/core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ jQuery.extend( {
274274
},
275275

276276
// Convert dashed to camelCase; used by the css and data modules
277-
// Support: IE9-11+
277+
// Support: IE <=9 - 11, Edge 12 - 13
278278
// Microsoft forgot to hump their vendor prefix (#9572)
279279
camelCase: function( string ) {
280280
return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase );

src/data.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jQuery.fn.extend( {
8787
i = attrs.length;
8888
while ( i-- ) {
8989

90-
// Support: IE11+
90+
// Support: IE 11 only
9191
// The attrs elements can be null (#14894)
9292
if ( attrs[ i ] ) {
9393
name = attrs[ i ].name;

src/effects.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ function defaultPrefilter( elem, props, opts ) {
142142
// Restrict "overflow" and "display" styles during box animations
143143
if ( isBox && elem.nodeType === 1 ) {
144144

145-
// Support: IE 9 - 11
145+
// Support: IE <=9 - 11, Edge 12 - 13
146146
// Record all 3 overflow attributes because IE does not infer the shorthand
147147
// from identically-valued overflowX and overflowY
148148
opts.overflow = [ style.overflow, style.overflowX, style.overflowY ];

src/manipulation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ define( [
2929
var
3030
rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,
3131

32-
// Support: IE 10-11, Edge 10240+
32+
// Support: IE <=10 - 11, Edge 12 - 13
3333
// In IE/Edge using regex groups here causes severe slowdowns.
3434
// See https://connect.microsoft.com/IE/feedback/details/1736512/
3535
rnoInnerhtml = /<script|<style|<link/i,

src/offset.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jQuery.fn.extend( {
9191
return;
9292
}
9393

94-
// Support: IE<=11+
94+
// Support: IE <=11 only
9595
// Running getBoundingClientRect on a
9696
// disconnected node in IE throws an error
9797
if ( !elem.getClientRects().length ) {

0 commit comments

Comments
 (0)