blob: 78a9f399c4ea482c3264712f65ba1d244d58154b [file] [log] [blame]
<pre id="results"></pre>
<div id="target" style="width: 100px; height: 100px; background-color: black;"></div>
<script>
testRunner.waitUntilDone();
testRunner.dumpAsText();
document.getElementById("target").animate([
{ transform: "translateX(0)" },
{ transform: "translateX(100px)" }
], 100).finished.then(() => {
requestAnimationFrame(() => {
document.getElementById("results").innerText = internals.layerTreeAsText(document);
testRunner.notifyDone();
});
});
</script>