Skip to content

Commit ff1a082

Browse files
committed
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 90d828b
1 parent f496182 commit ff1a082

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/css.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -128,13 +128,6 @@ function getWidthOrHeight( elem, name, extra ) {
128128
val = elem.getBoundingClientRect()[ name ];
129129
}
130130

131-
// Support: IE 11 only
132-
// In IE 11 fullscreen elements inside of an iframe have
133-
// 100x too small dimensions (gh-1764).
134-
if ( document.msFullscreenElement && window.top !== window ) {
135-
val *= 100;
136-
}
137-
138131
// Some non-html elements return undefined for offsetWidth, so check for null/undefined
139132
// svg - https://bugzilla.mozilla.org/show_bug.cgi?id=649285
140133
// MathML - https://bugzilla.mozilla.org/show_bug.cgi?id=491668

0 commit comments

Comments
 (0)