blob: 65242a61653ab5243df3010e86f425c08f3848f1 [file] [log] [blame]
<style>
body::-webkit-scrollbar {
background-image: radial-gradient(red 0%, red 100%);
width: 200px;
}
</style>
<script>
onload = () => {
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
document.body.offsetTop;
document.styleSheets[0].insertRule(`div { aspect-ratio: 1; }`);
document.body.offsetTop;
document.documentElement.remove();
setTimeout(function() { document.write('This test should not crash.'); testRunner.notifyDone(); }, 50);
};
</script>
<body>
<div></div>
</body>