]> source.dussan.org Git - jquery.git/commitdiff
CSS: Improve a comment explaining IE11 fullscreen bug
authorMichał Gołębiowski <m.goleb@gmail.com>
Wed, 1 Jul 2015 21:20:32 +0000 (23:20 +0200)
committerMichał Gołębiowski <m.goleb@gmail.com>
Wed, 1 Jul 2015 21:20:32 +0000 (23:20 +0200)
src/css.js

index 922f44162ccc7e2f24c24bf2699c0c762b6d88ff..373fdcb7e470894f216f666d6d38017e3295a313 100644 (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