mirror of
https://github.com/jquery/jquery.git
synced 2026-02-01 03:25:13 -05:00
Docs: Update support comments related to IE
All support comments were checked for Edge applicability.
This commit is contained in:
@@ -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 !==
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 );
|
||||
|
||||
@@ -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;
|
||||
|
||||
2
src/effects.js
vendored
2
src/effects.js
vendored
@@ -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 ];
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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 ) {
|
||||
|
||||
Reference in New Issue
Block a user