summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/css/transformed-overflow-hidden-clips-fixed.html
blob: bc821b66e9ba63a1556af17fce98af2152af37bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<style>
#transformed {
    overflow: hidden;
    transform: translateZ(0);
    height: 100px;
    width: 100px;
    background-color: salmon;
}
#fixed {
    position: fixed;
    background-color: chartreuse;
    width: 100px;
    height: 100px;
    top: -50px;
}
</style>
<div id="transformed">
  <div id="fixed"></div>
</div>