1
0
Fork 0
firefox/testing/web-platform/tests/css/css-scrollbars/invalid-needs-layout-crash.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

10 lines
343 B
HTML

<!DOCTYPE html>
<style>
#target::-webkit-scrollbar { position: absolute; }
#target.crash::-webkit-scrollbar { right: 0 }
</style>
<div id="target" style="width: 100px; height: 100px; overflow: auto;"><div style="height: 200px;"></div></div>
<script>
document.body.offsetTop;
document.getElementById('target').classList.add('crash');
</script>