Skip to content

Instantly share code, notes, and snippets.

@unscriptable
Forked from kangax/gist:91455
Created April 7, 2009 21:48
Show Gist options
  • Save unscriptable/91476 to your computer and use it in GitHub Desktop.
Save unscriptable/91476 to your computer and use it in GitHub Desktop.
var HAS_EXPANDING_BOX_BUG = (function(){
var el = document.createElement('div'),
isBuggy = false;
el.style.height = '1px';
document.body.appendChild(el);
isBuggy = (el.offsetHeight > 1);
document.body.removeChild(el);
el = null;
return isBuggy;
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy