1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 06:58:11 +00:00

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
parent bedcd9cd88
commit 53c4be926b
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);
}