blob: 78752785bafc3f681b650010dad474543cb8edd3 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
.container {
padding: 10px;
}
.box {
margin: 10px;
height: 100px;
width: 100px;
background-color: blue;
}
.composited {
-webkit-transform: translateZ(0);
}
.filtered {
-webkit-filter: brightness(0.7);
}
</style>
<script>
if (window.testRunner)
testRunner.dumpAsText();
function dumpLayers()
{
var layersResult = document.getElementById('layers');
if (window.testRunner)
layersResult.innerText = window.internals.layerTreeAsText(document);
}
window.addEventListener('load', dumpLayers, false)
</script>
</head>
<body>
<div class="composited filtered container">
<div class="composited box">
</div>
</div>
<div class="composited filtered box">
</div>
<pre id="layers">Layer tree goes here in DRT</pre>
</body>
</html>