mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
fixes #11048: make sure support tests don't modify the layout of the body
This commit is contained in:
committed by
Dave Methvin
parent
c0da49ff37
commit
2982abbb13
@@ -283,6 +283,10 @@ jQuery.support = (function() {
|
||||
support.pixelMargin = ( window.getComputedStyle( div, null ) || { marginTop: 0 } ).marginTop !== "1%";
|
||||
}
|
||||
|
||||
if ( typeof container.style.zoom !== "undefined" ) {
|
||||
container.style.zoom = 1;
|
||||
}
|
||||
|
||||
body.removeChild( container );
|
||||
div = container = null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user