diff --git a/Userland/Libraries/LibWeb/Page/EventHandler.cpp b/Userland/Libraries/LibWeb/Page/EventHandler.cpp index 2dd1de250c5..55f8895c1f9 100644 --- a/Userland/Libraries/LibWeb/Page/EventHandler.cpp +++ b/Userland/Libraries/LibWeb/Page/EventHandler.cpp @@ -493,7 +493,7 @@ bool EventHandler::handle_mousemove(CSSPixelPoint position, CSSPixelPoint screen if (hovered_link_element) is_hovering_link = true; - if (node->is_text()) { + if (paintable->layout_node().is_text_node()) { if (cursor == CSS::Cursor::Auto) hovered_node_cursor = Gfx::StandardCursor::IBeam; else