blob: 5daef0e5168b2c12122c1130e4aeca2c5a3821a2 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script src="../../resources/ui-helper.js"></script>
<script>
if (window.testRunner) {
testRunner.waitUntilDone();
testRunner.dumpAsText();
}
async function doTest()
{
await UIHelper.ensureStablePresentationUpdate();
let tree = await UIHelper.getUIViewTree();
document.getElementById('test').remove();
let output = document.createElement('pre');
document.body.append(output);
output.textContent = tree;
testRunner.notifyDone();
}
window.addEventListener('load', doTest, false);
</script>
</head>
<body>
<div id="test">
<div style="will-change: transform;">Hello</div>
</div>
</body>
</html>