mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Fixe dimensions tests. No core code changes. Supplements #11856
This commit is contained in:
committed by
Rick Waldron
parent
e680f36ca0
commit
4dcd7dd324
@@ -24,7 +24,7 @@ jQuery.each( { Height: "height", Width: "width" }, function( name, type ) {
|
||||
doc = elem.documentElement;
|
||||
|
||||
// Either scroll[Width/Height] or offset[Width/Height] or client[Width/Height], whichever is greatest
|
||||
// unfortunately, this causes bug #3838 in IE6 only, but there is currently no good, small way to fix it.
|
||||
// unfortunately, this causes bug #3838 in IE6/8 only, but there is currently no good, small way to fix it.
|
||||
return Math.max(
|
||||
elem.body[ scrollProp ], doc[ scrollProp ],
|
||||
elem.body[ offsetProp ], doc[ offsetProp ],
|
||||
|
||||
Reference in New Issue
Block a user