Misc: Drop support for older browsers; update support comments

That includes IE<8, Opera 12.x, Firefox<29, Safari<6.0 and some hacks
for old Blackberry.

Fixes gh-1836
Fixes gh-1701
Refs gh-1815
Refs gh-1820
This commit is contained in:
Michał Gołębiowski
2014-11-03 19:53:22 +01:00
committed by Michał Gołębiowski
parent a467f8653a
commit 90d7cc1d8b
41 changed files with 253 additions and 1074 deletions

View File

@@ -36,12 +36,11 @@ if ( window.getComputedStyle ) {
ret = jQuery.style( elem, name );
}
// Support: Android 4.0-4.3
// A tribute to the "awesome hack by Dean Edwards"
// Chrome < 17 and Safari 5.0 uses "computed value"
// instead of "used value" for margin-right
// Safari 5.1.7 (at least) returns percentage for a larger set of values,
// but width seems to be reliably pixels
// this is against the CSSOM draft spec:
// Android Browser returns percentage for some values,
// but width seems to be reliably pixels.
// This is against the CSSOM draft spec:
// http://dev.w3.org/csswg/cssom/#resolved-values
if ( rnumnonpx.test( ret ) && rmargin.test( name ) ) {
@@ -61,7 +60,7 @@ if ( window.getComputedStyle ) {
}
}
// Support: IE
// Support: IE9-11+
// IE returns zIndex value as an integer.
return ret === undefined ?
ret :
@@ -115,7 +114,7 @@ if ( window.getComputedStyle ) {
}
}
// Support: IE
// Support: IE<9
// IE returns zIndex value as an integer.
return ret === undefined ?
ret :