blob: 6edd7dbda860ec216ac968d816b7470601247d5e [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
.box {
background-color: silver;
margin: 10px;
}
</style>
<script>
if (window.testRunner)
testRunner.dumpAsText();
function dumpLayers()
{
if (window.testRunner) {
document.getElementById('layers').innerText = window.internals.layerTreeAsText(document);
}
}
window.addEventListener('load', dumpLayers, false);
</script>
</head>
<body>
<span class="box" style="will-change: transform;">
transform
</span>
<span class="box" style="will-change: opacity;">
opacity
</span>
<span class="box" style="will-change: transform, background;">
transform, background
</span>
<span class="box" style="will-change: transform, opacity;">
transform, opacity
</span>
<span class="box" style="will-change: -webkit-filter;">
-webkit-filter
</span>
<div class="box" style="will-change: opacity;">
opacity
</div>
<div class="box" style="will-change: transform;">
transform
</div>
<div class="box" style="will-change: -webkit-filter;">
-webkit-filter
</div>
<div class="box" style="will-change: transform-style;">
transform-style
</div>
<div class="box" style="will-change: perspective;">
perspective
</div>
<div class="box" style="will-change: background, clip-path, position, z-index, -webkit-mask;">
background, clip-path, position, z-index, -webkit-mask
</div>
<pre id="layers"></pre>
</body>
</html>