Bug 178595 - Web Inspector: Mac MiniBrowser gives Web Inspector too much vertical space when side docked
Summary: Web Inspector: Mac MiniBrowser gives Web Inspector too much vertical space wh...
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-10-20 11:25 PDT by Ross Kirsling
Modified: 2019-04-03 11:40 PDT (History)
3 users (show)

See Also:


Attachments
[Image] Problem (1022.24 KB, image/png)
2017-10-20 11:25 PDT, Ross Kirsling
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ross Kirsling 2017-10-20 11:25:18 PDT
Created attachment 324420 [details]
[Image] Problem

Repro:
1. Launch MiniBrowser on Mac.
2. Open Web Inspector and dock it to the right side of the browser window.

Result:
See screenshot. Web Inspector header is cut off and not interactable.
Comment 1 Radar WebKit Bug Importer 2017-10-20 11:29:43 PDT
<rdar://problem/35098664>
Comment 2 Ross Kirsling 2017-11-01 14:12:23 PDT
Seems like this may be related to bug 142892.

At https://trac.webkit.org/browser/webkit/trunk/Source/WebKit/UIProcess/mac/WebInspectorProxyMac.mm#L508, inspectedView is a WKWebView and thus insetExcludingBanners is always 0. NSHeight(parentBounds) has the same value as inspectedViewTop, and this value is large than the actual available height.
Comment 3 Ross Kirsling 2019-04-03 11:40:59 PDT
Seems like this bug no longer occurs.