Bug 103382

Summary: PDFPlugin: Scroll bars do not grow on hover
Product: WebKit Reporter: Tim Horton <thorton>
Component: PDFAssignee: Tim Horton <thorton>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, bdakin, mitz, sam
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
patch bdakin: review+

Tim Horton
Reported 2012-11-27 02:24:00 PST
Attachments
patch (11.12 KB, patch)
2012-11-27 02:39 PST, Tim Horton
bdakin: review+
Tim Horton
Comment 1 2012-11-27 02:24:15 PST
This also covers non-overlay scrollbars not glowing, etc.
Tim Horton
Comment 2 2012-11-27 02:39:28 PST
Beth Dakin
Comment 3 2012-11-27 13:00:34 PST
Comment on attachment 176213 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=176213&action=review > Source/WebKit2/WebProcess/Plugins/PDF/PDFPlugin.mm:436 > + if (magnification) { I don't think you need these brackets. > Source/WebKit2/WebProcess/Plugins/PDF/PDFPlugin.mm:566 > + } else if (targetScrollbarForLastMousePosition) Is 'else if' right here? Will there ever be a situation where you want to sent a mouseEntered for one scrollbar AND a mouseExited for another?
Tim Horton
Comment 4 2012-11-27 13:48:50 PST
(In reply to comment #3) > (From update of attachment 176213 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=176213&action=review > > > Source/WebKit2/WebProcess/Plugins/PDF/PDFPlugin.mm:436 > > + if (magnification) { > > I don't think you need these brackets. Nope! They're a figment of debugging, sorry. > > Source/WebKit2/WebProcess/Plugins/PDF/PDFPlugin.mm:566 > > + } else if (targetScrollbarForLastMousePosition) > > Is 'else if' right here? Will there ever be a situation where you want to sent a mouseEntered for one scrollbar AND a mouseExited for another? Though it will rarely come up in practice, you're right. Thanks, Beth!
Tim Horton
Comment 5 2012-11-27 13:57:53 PST
Note You need to log in before you can comment on or make changes to this bug.