summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/compositing/overflow/zero-size-overflow.html
blob: cf50f1af5cdde512b87adbe0d57478b18df620e7 (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
<!DOCTYPE html>

<html>
<head>
  <style type="text/css" media="screen">
    .box {
      position: absolute;
      overflow: hidden;
      width: 0;
      height: 0;
    }
    
    .indicator {
      border: 50px solid red;
    }
    
    .test {
      border: 50px solid green;
      transform: translateZ(0);
    }
  </style>
</head>
<body>

  <div class="indicator box"></div>
  <div class="test box"></div>

</body>
</html>