diff options
author | Felix Nagel <info@felixnagel.com> | 2012-01-22 14:47:21 +0100 |
---|---|---|
committer | Felix Nagel <info@felixnagel.com> | 2012-01-22 14:47:21 +0100 |
commit | 21d96f12f802f13c4c159ab9b2e0a6df3771be42 (patch) | |
tree | c74f69270a62bc8a99e175bd3a94c7bc18433a48 /ui/jquery.ui.core.js | |
parent | 725023e30db10cc0a3ec2b8b9fda0ec80a4ab496 (diff) | |
parent | 6800e1a2f97a7d8aaf20d065aa2ce517528e5068 (diff) | |
download | jquery-ui-21d96f12f802f13c4c159ab9b2e0a6df3771be42.tar.gz jquery-ui-21d96f12f802f13c4c159ab9b2e0a6df3771be42.zip |
Merge branch 'master' of github.com:jquery/jquery-ui into selectmenu
Diffstat (limited to 'ui/jquery.ui.core.js')
-rw-r--r-- | ui/jquery.ui.core.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/jquery.ui.core.js b/ui/jquery.ui.core.js index f0cf89ba7..d777d6d49 100644 --- a/ui/jquery.ui.core.js +++ b/ui/jquery.ui.core.js @@ -223,6 +223,11 @@ $(function() { var body = document.body, div = body.appendChild( div = document.createElement( "div" ) ); + // access offsetHeight before setting the style to prevent a layout bug + // in IE 9 which causes the elemnt to continue to take up space even + // after it is removed from the DOM (#8026) + div.offsetHeight; + $.extend( div.style, { minHeight: "100px", height: "auto", |