CSS: Improve a comment explaining IE11 fullscreen bug

This commit is contained in:
Michał Gołębiowski 2015-07-01 23:20:32 +02:00
parent a44cfa0066
commit 8e4aac8cb0

View File

@ -114,7 +114,8 @@ function getWidthOrHeight( elem, name, extra ) {
isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box";
// 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 ) {
// Support: IE11 only
// Running getBoundingClientRect on a disconnected node