summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/values/numbers-units-018-ref.xht
blob: ce9896684b4a62ef976b206838201e492bf7c30c (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
35
36
37
38
39
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CSS Reftest Reference</title>
<link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com"/>
<style type="text/css">
html {
  border: 1px solid;
  margin-left: 400px;
  margin-top: 320px;
}
p {
  font: 16px serif;
}
div {
  position: absolute;
}
#div1 {
  background: orange;
  height: 20px;
  left: 0;
  top: 320px;
  width: 400px;
}
#div2 {
  background: blue;
  height: 320px;
  left: 400px;
  top: 0;
  width: 20px;
}
</style>
</head>
<body>
<p>Test passes if the black box containing this text is to the right of the orange box and below the blue box.</p>
<div id="div1"></div>
<div id="div2"></div>
</body>
</html>