]> 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:21:21 +0000 (23:21 +0200)
committerMichał Gołębiowski <m.goleb@gmail.com>
Wed, 1 Jul 2015 21:21:21 +0000 (23:21 +0200)
(cherry-picked from 8e4aac8cb03ffb88373ea99629165d82ff5eccdd)

src/css.js

index 1ac2bc02cdcf225448df584afb38a2b92fe64fb9..24ddb6708660dc4e313be053bf8ddd6540da7332 100644 (file)
@@ -121,7 +121,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