<!DOCTYPE html>
<style>
::-webkit-scrollbar {
height: 1px;
width: 1px
}
::-webkit-scrollbar-thumb {
background: rgba(255,0,0,0.8);
}
html {
overflow-y: scroll
}
</style>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.setPageZoomFactor(5);
}
</script>
<div>
Custom-Scrollbar needs layout when scrollbar thickness changed.
<span>The test passed if chrome did not crash.</span>
</div>
<div style="width:600px"></div>