Revision control

1
<pre id="results"></pre>
2
<div id="target" style="width: 100px; height: 100px; background-color: black;"></div>
3
<script>
4
5
testRunner.waitUntilDone();
6
testRunner.dumpAsText();
7
8
document.getElementById("target").animate([
9
{ transform: "translateX(0)" },
10
{ transform: "translateX(100px)" }
11
], 100).finished.then(() => {
12
requestAnimationFrame(() => {
13
document.getElementById("results").innerText = internals.layerTreeAsText(document);
14
testRunner.notifyDone();
15
});
16
});
17
18
</script>