electron/spec/fixtures/api/offscreen-rendering.html
2023-03-29 15:02:13 -04:00

11 lines
295 B
HTML

<html>
<body>
<div style="width: 10px; height: 10px;" id="dirty"></div>
</body>
<script type="text/javascript" charset="utf-8">
setInterval(function(){
document.getElementById('dirty').style.backgroundColor =
'#'+(Math.random()*0xFFFFFF<<0).toString(16)
}, 10)
</script>
</html>