summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/compositing/squashing/squash-overflow-hidden-contents-expected.html
blob: a5b90bcf32ad882cb1f926e23dafc51b400aad32 (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
<!DOCTYPE html>
<style type="text/css" media="screen">
  .container {
    display: inline-block;
    width: 200px; 
    height: 200px; 
    overflow: hidden;
    margin: 10px;
    border: 1px solid black;
  }
  
  .inner {
    width: 100%;
    height: 1000px;
    background-color: blue;
  }
</style>

<!-- Test repainting when the graphicsLayer offsetFromRenderer changes -->
<!-- You should see one green square, and no red -->
<div class="container" style="position: relative;">
  <div class="inner" style="position: relative;">
  </div>
</div>