Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3445c01a99afadb9688b2871680f308e3eb27012
      
https://github.com/WebKit/WebKit/commit/3445c01a99afadb9688b2871680f308e3eb27012
  Author: Alexsander Damaceno <[email protected]>
  Date:   2025-02-10 (Mon, 10 Feb 2025)

  Changed paths:
    M Source/WebCore/page/EventHandler.cpp

  Log Message:
  -----------
  cursor property is not applying on <area> element
https://bugs.webkit.org/show_bug.cgi?id=221762

Reviewed by Ryosuke Niwa.

Match with other browsers behavior for area element.

The `<area>` element has `display: none` by default, so no renderer is set for 
it.
As a result, the cursor could not be looked up in the style object,
since we access the renderer to retrieve cursor information on each mouse event.
This is resolved by accessing the style information directly from the node 
object when dealing with `<area>` elements.

* Source/WebCore/page/EventHandler.cpp:
(WebCore::EventHandler::selectCursor):

Canonical link: https://commits.webkit.org/290169@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to