summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/compositing/layer-creation/iframe-clip-removed-expected.html
blob: 46460bdfd97323988da82d36783c0272260afc6d (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
30
31
32
<!DOCTYPE html>
<style>
  #subframe {
    width: 400px;
    height: 500px;
    background-color: blue;
    position: relative;
  }

  #scroller {
    height: 200px;
    width: 300px;
    position: absolute;
    overflow: scroll;
  }

  #clip {
    position: absolute;
  }
</style>
<script>
  if (window.testRunner && window.internals) {
    internals.settings.setPreferCompositingToLCDTextEnabled(true);
  }

</script>

<div id="scroller">
  <div id="clip">
    <iframe id="subframe"></iframe>
  </div>
</div>