Misc: Drop support for older browsers; update support comments

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

Closes gh-1820
Refs gh-1815
This commit is contained in:
Michał Gołębiowski
2014-10-27 18:36:07 +01:00
parent 758fd6cea9
commit 740e190223
17 changed files with 56 additions and 141 deletions

View File

@@ -96,11 +96,7 @@ jQuery.fn.extend({
return box;
}
// Support: BlackBerry 5, iOS 3 (original iPhone)
// If we don't have gBCR, just use 0,0 rather than error
if ( elem.getBoundingClientRect ) {
box = elem.getBoundingClientRect();
}
box = elem.getBoundingClientRect();
win = getWindow( doc );
return {
top: box.top + win.pageYOffset - docElem.clientTop,