Summary: | REGRESSION(r147004): Find on Page banner doesn't appear while Web Inspector is visible | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Timothy Hatcher <timothy> | ||||
Component: | WebKit2 | Assignee: | Timothy Hatcher <timothy> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | benjamin, graouts, joepeck, timothy | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Timothy Hatcher
2013-05-15 12:50:01 PDT
Created attachment 201869 [details]
Patch
Looks good to me. Comment on attachment 201869 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=201869&action=review This looks a bit fragile but definitely not more than the previous code. If the Y coordinate are inverted, this patch looks correct. > Source/WebKit2/UIProcess/mac/WebInspectorProxyMac.mm:628 > + CGFloat inspectedViewTop = NSMaxY(inspectedViewFrame); I am confused, for me the Max Y would be the bottom of a view. Is this because of OS X sick inverted coordinates? Comment on attachment 201869 [details]
Patch
Yes, the coords are flipped by default on OS X.
|