aboutsummaryrefslogtreecommitdiffstats
path: root/test/data/css/cssComputeStyleTests.html
blob: 9010d70fd2c90ad8228ae8a670cb0b911ac55a96 (plain)
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
31
32
33
34
<!DOCTYPE html>
<html>
<head>
	<title>Test computeStyleTests for hidden iframe</title>
	<meta charset="utf-8">
	<style>
		* {
			box-sizing: border-box;
		}
		#test {
			position: absolute;
			border: 10px solid black;
			width: 400px;
		}
		#test-table {
			position: absolute;
			width: 100.7px;
			border-spacing: 0;
		}
	</style>
</head>
<body>
<div id="test"></div>
<table id="test-table">
	<tr id="test-tr"></tr>
</table>
<script src="../../jquery.js"></script>
<script src="../iframeTest.js"></script>
<script>
	var initialHeight = $( "#test" ).outerHeight();
	startIframeTest( initialHeight );
</script>
</body>
</html>