blob: 84c46f6cc8485921f49b93945779d7c182429287 (
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
|
<!DOCTYPE html>
<iframe srcdoc='<style>
body {
background-color: red;
}
#hidden, #overlap {
position: absolute;
width: 100px;
height: 100px;
top: 0px;
left: 0px;
}
#overlap {
background-color: papayawhip;
left: 50px;
}
#hidden {
visibility: hidden;
}
</style>
<div id="hidden"></div>
<div id="overlap"></div>
<script>
document.getElementById("hidden").style.transform = "translateZ(0)";
if (window.testRunner)
testRunner.dumpAsText();
if (window.internals)
testRunner.setCustomTextOutput(internals.layerTreeAsText(top.document));
</script>
'></iframe>
|