Commit 58953400 authored by Michał Gołębiowski's avatar Michał Gołębiowski

CSS: Improve a comment explaining IE11 fullscreen bug

(cherry-picked from 8e4aac8cb03ffb88373ea99629165d82ff5eccdd)
parent 29561bca
...@@ -121,7 +121,8 @@ function getWidthOrHeight( elem, name, extra ) { ...@@ -121,7 +121,8 @@ function getWidthOrHeight( elem, name, extra ) {
isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box"; isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box";
// Support: IE11 only // Support: IE11 only
// Fix for edge case in IE 11. See gh-1764 // In IE 11 fullscreen elements inside of an iframe have
// 100x too small dimensions (gh-1764).
if ( document.msFullscreenElement && window.top !== window ) { if ( document.msFullscreenElement && window.top !== window ) {
// Support: IE11 only // Support: IE11 only
// Running getBoundingClientRect on a disconnected node // Running getBoundingClientRect on a disconnected node
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment