Commit 2982abbb authored by Mike Sherov's avatar Mike Sherov Committed by Dave Methvin

fixes #11048: make sure support tests don't modify the layout of the body

parent c0da49ff
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment