summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/849996-1.html
blob: b6cef62c2dd2b811cc919c3397b0fcbdd3d80092 (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
<!DOCTYPE html>
<html>
<head>
<style>
#parent {
  width: 200px;
  height: 200px;
  overflow: hidden;
  transform: translateX(10px);
  background: green;
}
#child {
  position: fixed;
  top: -10px;
  left: -10px;
  width: 100px;
  height: 100px;
  background: red;
}
</style>
</head>
<body>
<div id="parent">
  <div id="child"></div>
</div>
</body>
</html>