<!DOCTYPE html> | |
<style> | |
.box { | |
position: relative; | |
width: 100px; | |
height: 100px; | |
} | |
</style> | |
<div class="box" style="transform: translateZ(0); background-color: blue;"></div> | |
<div class="box" style="background-color: yellow;"></div> | |
<script> | |
if (window.testRunner) { | |
testRunner.dumpAsText(); | |
testRunner.setCustomTextOutput(internals.layerTreeAsText(document)); | |
} | |
</script> |