aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Gołębiowski <m.goleb@gmail.com>2016-04-26 21:18:53 +0200
committerMichał Gołębiowski <m.goleb@gmail.com>2016-04-26 21:19:54 +0200
commitff1a0822f72d2b39fac691dfcceab6ede5623b90 (patch)
treed2262b9786f75a3bf61b7598d3e0298d1d07e076
parentf4961822160c671fd72f1da7501049aab6cfd56b (diff)
downloadjquery-ff1a0822f72d2b39fac691dfcceab6ede5623b90.tar.gz
jquery-ff1a0822f72d2b39fac691dfcceab6ede5623b90.zip
CSS: Don't workaround the IE 11 iframe-in-fullscreen sizing issues
IE 11 used to have an issue where if an element inside an iframe was put in fullscreen mode, the element dimensions started being 100 times too small; we've added a workaround that would multiply them by 100. However, the IE 11 issue has been unexpectedly fixed and since our detection was really detecting the browser and not a bug, we've started breaking the browser instead of fixing it. Since there's no good way to detect if the bug exists, we have to back the workaround out completely. Fixes gh-3041 Refs gh-1764 Refs gh-2401 Refs 90d828bad0d6d318d73d6cf6209d9dc7ac13878c
-rw-r--r--src/css.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/css.js b/src/css.js
index 131df67de..795ca2796 100644
--- a/src/css.js
+++ b/src/css.js
@@ -128,13 +128,6 @@ function getWidthOrHeight( elem, name, extra ) {
val = elem.getBoundingClientRect()[ name ];
}
- // Support: IE 11 only
- // In IE 11 fullscreen elements inside of an iframe have
- // 100x too small dimensions (gh-1764).
- if ( document.msFullscreenElement && window.top !== window ) {
- val *= 100;
- }
-
// Some non-html elements return undefined for offsetWidth, so check for null/undefined
// svg - https://bugzilla.mozilla.org/show_bug.cgi?id=649285
// MathML - https://bugzilla.mozilla.org/show_bug.cgi?id=491668