jquery/test/data/css/cssWidthBrowserZoom.html

31 lines
514 B
HTML
Raw Normal View History

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
html {
zoom: 1.1;
}
#test {
position: absolute;
width: 100px;
height: 100px;
padding: 10px;
border: 1px solid pink;
box-sizing: border-box;
}
</style>
</head>
<body>
<div id="test"></div>
<script src="../../jquery.js"></script>
<script src="../iframeTest.js"></script>
<script>
startIframeTest(
jQuery( "#test" ).css( 'width' ),
jQuery( "#test" ).css( 'width', '100px' ).css( 'width' )
);
</script>
</body>
</html>