mirror of
https://github.com/RGBCube/serenity
synced 2026-01-13 23:20:59 +00:00
We didn't notice that the layout tree had disappeared after dispatching a mousedown event, because we only checked EventHandler::layout_root() which happily returned the *new* layout tree after a window.reload(). This patch fixes that by verifying that the frame is still showing the same DOM's layout tree after event dispatch. Fixes #4224. |
||
|---|---|---|
| .. | ||
| EventHandler.cpp | ||
| EventHandler.h | ||
| Frame.cpp | ||
| Frame.h | ||
| Page.cpp | ||
| Page.h | ||