File: cssWidthBrowserZoom.html

package info (click to toggle)
node-jquery 3.5.1%2Bdfsg%2B~3.5.5-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 3,712 kB
  • sloc: javascript: 34,777; php: 221; xml: 36; makefile: 15
file content (30 lines) | stat: -rw-r--r-- 514 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!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>