blob: 818f56d15163db0061a0496d88c47f741221df9e (
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
|
<!DOCTYPE html>
<div style="transform: translateZ(0);
height: 10px;
width: 10px;
position: absolute;
background-color: red;
z-index: -1"></div>
<div style="margin-left: 100px;
margin-top: 100px;
height: 300px;
width: 300px;
overflow-y: scroll;">
<div style="position: relative">
<div style="position: relative;
height: 1000px;
background-color: lightblue">
</div>
</div>
</div>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
internals.settings.setPreferCompositingToLCDTextEnabled(true);
testRunner.setCustomTextOutput(internals.layerTreeAsText(document));
}
</script>
|