mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Docs:Tests: Update IE/Edge-related support comments & tests
Closes gh-3661
This commit is contained in:
committed by
GitHub
parent
bbf334282b
commit
731c501155
@@ -538,7 +538,7 @@ jQuery.extend( {
|
||||
if ( s.crossDomain == null ) {
|
||||
urlAnchor = document.createElement( "a" );
|
||||
|
||||
// Support: IE <=8 - 11, Edge 12 - 13
|
||||
// Support: IE <=8 - 11, Edge 12 - 15
|
||||
// IE throws exception on accessing the href property if url is malformed,
|
||||
// e.g. http://example.com:80x/
|
||||
try {
|
||||
|
||||
@@ -288,7 +288,7 @@ jQuery.extend( {
|
||||
},
|
||||
|
||||
// Convert dashed to camelCase; used by the css and data modules
|
||||
// Support: IE <=9 - 11, Edge 12 - 13
|
||||
// Support: IE <=9 - 11, Edge 12 - 15
|
||||
// Microsoft forgot to hump their vendor prefix (#9572)
|
||||
camelCase: function( string ) {
|
||||
return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase );
|
||||
|
||||
5
src/effects.js
vendored
5
src/effects.js
vendored
@@ -148,9 +148,10 @@ function defaultPrefilter( elem, props, opts ) {
|
||||
// Restrict "overflow" and "display" styles during box animations
|
||||
if ( isBox && elem.nodeType === 1 ) {
|
||||
|
||||
// Support: IE <=9 - 11, Edge 12 - 13
|
||||
// Support: IE <=9 - 11, Edge 12 - 15
|
||||
// Record all 3 overflow attributes because IE does not infer the shorthand
|
||||
// from identically-valued overflowX and overflowY
|
||||
// from identically-valued overflowX and overflowY and Edge just mirrors
|
||||
// the overflowX value there.
|
||||
opts.overflow = [ style.overflow, style.overflowX, style.overflowY ];
|
||||
|
||||
// Identify a display type, preferring old show/hide data over the CSS cascade
|
||||
|
||||
@@ -38,7 +38,7 @@ var
|
||||
|
||||
/* eslint-enable */
|
||||
|
||||
// Support: IE <=10 - 11, Edge 12 - 13
|
||||
// Support: IE <=10 - 11, Edge 12 - 13 only
|
||||
// In IE/Edge using regex groups here causes severe slowdowns.
|
||||
// See https://connect.microsoft.com/IE/feedback/details/1736512/
|
||||
rnoInnerhtml = /<script|<style|<link/i,
|
||||
|
||||
Reference in New Issue
Block a user