aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/ref/overflow_position_abs_inside_normal_a.html
blob: aa9a3f11b7b55f98659ad2de438b59b3d983baf7 (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
26
27
28
29
30
31
32
<html>
  <title>
    `overflow: hidden` on #second has no effect on #abs because its CB is #first.
  </title>
  <head>
    <style>
      #first {
      position: relative;
      }
      #second {
      height: 100px;
      width: 100px;
      background: red;
      overflow: hidden;
      }
      #abs {
      position: absolute;
      height: 200px;
      width: 200px;
      background: green;
      }
    </style>
  </head>
  <body>
    <div id="first">
      <div id="second">
	<div id="abs">
	</div>
      </div>
    </div>
  </body>
</html>