blob: 740ad6976beb682158255512601b4c5ca7910f1b [file] [log] [blame]
<style>
body::-webkit-scrollbar {
background-image: conic-gradient(red, green);
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>