Fixes #11635, Explicit overflow:auto is overridden by inline overflow:hidden during animation, closes gh-981

This commit is contained in:
Mike Petrovich
2012-10-16 12:22:31 -04:00
committed by Mike Sherov
parent 69ce829dfe
commit 861476eb3f
4 changed files with 30 additions and 2 deletions

View File

@@ -172,7 +172,7 @@ jQuery.support = (function() {
// Run tests that need a body at doc ready
jQuery(function() {
var container, div, tds, marginDiv,
divReset = "padding:0;margin:0;border:0;display:block;overflow:hidden;",
divReset = "padding:0;margin:0;border:0;display:block;overflow:hidden;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",
body = document.getElementsByTagName("body")[0];
if ( !body ) {