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:
parent
0d8a013ee1
commit
9f6841a65c
3 changed files with 12 additions and 0 deletions
5
Tests/LibWeb/Text/input/window-scroll-while-parsing.html
Normal file
5
Tests/LibWeb/Text/input/window-scroll-while-parsing.html
Normal file
|
@ -0,0 +1,5 @@
|
|||
<body><script>
|
||||
window.scrollTo(200, 200);
|
||||
if (window.internals !== undefined)
|
||||
window.internals.signalTextTestIsDone();
|
||||
</script>PASS (didn't crash)
|
Loading…
Add table
Add a link
Reference in a new issue