mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 10:48:41 +00:00
PageHost assumes page_did_layout() to be called when the layout of the active document changes, however, it seems that sometimes the layout can change on another document before the layout of the active document has been calculated. This leads to a VERIFY() being hit. This commit now makes it so page_did_layout() is only called when the document is the active document. Fixes #15328
83 KiB
83 KiB