summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-contain/contain-layout-overflow-001-ref.html
blob: 61825fd45415a08b90f824895093f47650e24c32 (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
<!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;
    background: lightblue;
  }
  .inner-lg-2 {
    height: 200px;
    width: 200px;
  }
  .pass {
    background: green;
  }
  .border {
    border: 5px solid green;
  }

  </style>
</head>
<body>
  <div class="outer">
    <div class="inner-sm"></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>