Bug 34989 - Cursor disappears on scroll bars that are over plugin content
Summary: Cursor disappears on scroll bars that are over plugin content
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Plug-ins (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac All
: P2 Normal
Assignee: Alexey Proskuryakov
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2010-02-16 13:48 PST by Alexey Proskuryakov
Modified: 2010-02-16 14:18 PST (History)
1 user (show)

See Also:


Attachments
proposed patch (7.89 KB, patch)
2010-02-16 13:49 PST, Alexey Proskuryakov
ggaren: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Proskuryakov 2010-02-16 13:48:32 PST
We are overriding NSView mouseEntered/mouseExited methods to dispatch those, but they are not guaranteed to be called correctly when there are overlapping views, as is the case with WebViews and scrollers.
Comment 1 Alexey Proskuryakov 2010-02-16 13:49:16 PST
Created attachment 48824 [details]
proposed patch
Comment 2 Alexey Proskuryakov 2010-02-16 13:49:44 PST
<rdar://problem/7417965>
Comment 3 Geoffrey Garen 2010-02-16 14:06:07 PST
Comment on attachment 48824 [details]
proposed patch

> +    // This is observable via different order of events - in Firefox, attribute event listeners fires first

I would change this to "event listeners specified as HTML attributes fire first". You *could* make an "attribute event listener" in JavaScript, and then it would fire in the order your script added it.

r=me
Comment 4 Geoffrey Garen 2010-02-16 14:07:57 PST
All of

<x onevent="...">

and

x.onEvent = function () {...}

and

x.setAttribute("onevent", ...)

are considered attribute event listeners in our code.
Comment 5 Alexey Proskuryakov 2010-02-16 14:18:08 PST
Committed <http://trac.webkit.org/changeset/54829>.

> I would change this to "event listeners specified as HTML attributes fire
> first".

Done.