A WebView that is used in an NSPopover gets no hover or mouse move events, nor do CSS hovers work. The blinking insertion point also does not draw and text selection is always the inactive color. <rdar://problem/9754099>
Created attachment 107931 [details] Proposed Change
Comment on attachment 107931 [details] Proposed Change View in context: https://bugs.webkit.org/attachment.cgi?id=107931&action=review > Source/WebKit/mac/WebView/WebHTMLView.mm:3383 > + // unless the parent window looses key. So we need to remove the mouse moved observer. Typo, “looses” should be “loses”.
Comment on attachment 107931 [details] Proposed Change View in context: https://bugs.webkit.org/attachment.cgi?id=107931&action=review > Source/WebKit/mac/ChangeLog:3 > + Make WebViews in NSPopovers render as they would in active windows. What about WKView? Do we have the same problem with WebKit2?
(In reply to comment #3) > (From update of attachment 107931 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=107931&action=review > > > Source/WebKit/mac/ChangeLog:3 > > + Make WebViews in NSPopovers render as they would in active windows. > > What about WKView? Do we have the same problem with WebKit2? Filed as bug 68435 since I don't have a testcase for WKView yet, I'll fix it in a seperate patch.
Fixed in r95534. http://trac.webkit.org/changeset/95534