Created
April 7, 2009 21:04
-
-
Save kangax/91455 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var HAS_EXPANDING_BOX_BUG = (function(){ | |
var el = document.createElement('div'), | |
isBuggy = false; | |
el.style.width = '1px'; | |
el.innerHTML = 'xxxxxxxxxx'; | |
document.body.appendChild(el); | |
isBuggy = (el.offsetWidth > 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