File: cssWidthBeforeDocReady.html

package info (click to toggle)
node-jquery 2.2.4%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,288 kB
  • sloc: php: 122; xml: 36; makefile: 9; sh: 2
file content (22 lines) | stat: -rw-r--r-- 381 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<style>
		#test {
			-webkit-box-sizing: border-box;
			box-sizing: border-box;
			width: 100px;
			height: 100px;
			padding: 10px;
		}
	</style>
</head>
<body>
<div id="test"></div>
<script src="../../jquery.js"></script>
<script>
	window.parent.iframeCallback( jQuery( "#test" ).css( 'width' ) );
</script>
</body>
</html>