summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/flex-flow-002-ref.html
blob: 3a5ec04752fa0f2b6a61ddecdd8ce67f38f0fd0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Flexbox Test Reference File</title>
<link rel="author" title="Intel" href="http://www.intel.com">
<style>
  div {
    background-color: green;
    height: 50px;
    width: 50px;
  }
  .float {
    margin-left: 50px;
    margin-top: -50px;
  }
</style>
<body>
  <p>Test passes if there is a filled green square and <strong>no red</strong>, the number within square is '1 2 3 4'
  from left to right, top to bottom.</p>
  <div>1</div>
  <div class="float">2</div>
  <div>3</div>
  <div class="float">4</div>
</body>