LibWeb: Set link cursor via the default CSS

This removes the custom handling of cursor for the link element, which
also allows overriding the cursor on a link element via CSS
This commit is contained in:
Adam Hodgen 2021-02-27 23:34:57 +00:00 committed by Andreas Kling
commit 53c4be926b
Notes: sideshowbarker 2024-07-18 21:50:37 +09:00
2 changed files with 4 additions and 1 deletions

View file

@ -252,7 +252,6 @@ void OutOfProcessWebView::notify_server_did_request_scroll_into_view(Badge<WebCo
void OutOfProcessWebView::notify_server_did_hover_link(Badge<WebContentClient>, const URL& url)
{
set_override_cursor(Gfx::StandardCursor::Hand);
if (on_link_hover)
on_link_hover(url);
}