summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-contain/contain-layout-overflow-002-ref.html
blob: ba1c600d504be3ec0496d1513e152a90f6eecbc2 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<!DOCTYPE HTML>
<html>
<head>
  <meta charset="utf-8">
  <title>CSS Reftest Reference</title>
  <link rel="author" title="Morgan Rae Reschenberg" href="mailto:mreschenberg@berkeley.edu">
  <style>
  .outer {
    height: 100px;
    width: 100px;
  }
  .auto {
    overflow: auto;
  }
  .inner-sm {
    height: 50px;
    width: 50px;
    background: lightblue;
  }
  .inner-lg-1 {
    height: 95px;
    width: 95px;
    float:left;
    background: lightblue;
  }
  .inner-lg-2 {
    height: 200px;
    width: 200px;
    float:left;
  }
  .pass {
    background: green;
  }
  .border {
    border: 5px solid green;
  }

  </style>
</head>
<body>
  <div class="outer">
    <div class="inner-sm" style="float:left;"></div>
  </div>
  <br>

  <div class="outer auto">
    <div class="inner-lg-2 pass">
    </div>
  </div>
  <br>

  <div class="inner-sm border">
    <div class="inner-lg-1">
    </div>
  </div>
</body>
</html>