Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<style>
div { overflow-y: scroll; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-corner { }
.crash::-webkit-scrollbar-corner {
scroll-snap-stop: always;
}
</style>
<div id="target"></div>
<script>
document.body.offsetTop;
document.getElementById('target').className = 'crash';
</script>