Skip to content

Commit

Permalink
CSS: Improve a comment explaining IE11 fullscreen bug
Browse files Browse the repository at this point in the history
(cherry-picked from 8e4aac8)
  • Loading branch information
mgol committed Jul 1, 2015
1 parent 29561bc commit 5895340
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/css.js
Expand Up @@ -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
Expand Down

0 comments on commit 5895340

Please sign in to comment.