1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 08:48:11 +00:00

LibWeb: Update layout before looking at overflow in window.scroll()

Fixes a crash seen on https://www.ekioh.com/
This commit is contained in:
Andreas Kling 2024-01-18 20:58:53 +01:00
parent 0d8a013ee1
commit 9f6841a65c
3 changed files with 12 additions and 0 deletions

View file

@ -0,0 +1,5 @@
<body><script>
window.scrollTo(200, 200);
if (window.internals !== undefined)
window.internals.signalTextTestIsDone();
</script>PASS (didn't crash)