aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css-flexbox-1_dev/xhtml1/reference/justify-content-001-ref.xht
blob: 43940ec2fa59c9fe08d621d7bf055d5a6f00b9f9 (plain) (blame)
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 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><meta charset="utf-8" />
<title>CSS Reference</title>
<link href="http://www.intel.com" rel="author" title="Intel" />
<style>
  #blue {
    background: blue;
    height: 100px;
    width: 150px;
  }
  #orange {
    background: orange;
    height: 100px;
    left: 150px;
    position: relative;
    top: -100px;
    width: 150px;
  }
</style>
</head><body>
  <p>Test passes if there is a single blue rectangle on the left, a single orange rectangle directly to its right, and there is no red visible on the page.</p>
  <div id="blue"></div>
  <div id="orange"></div>

</body></html>