summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-ui/reference/box-sizing-001-ref.html
blob: 0207bc06beb00b241d59773f41ed0a8f1ee4f107 (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
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Basic User Interface Reference File</title>
<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/">
<style>
#cb {
	position: absolute;
	width: 100px;
	height: 100px;
}
#test {
	margin-right: 5px;
	margin-top: 25px;
	margin-left: 25px;
	width: 70px;
	height: 70px;
	background:green;
}
</style>
<body>
  <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
  <div id="cb">
	  <div id="test"></div>
  </div>
</body>