RESOLVED FIXED 204093
Web Inspector: Local Overrides: drop zone overlay doesn't take up the full content area
https://bugs.webkit.org/show_bug.cgi?id=204093
Summary Web Inspector: Local Overrides: drop zone overlay doesn't take up the full co...
Devin Rousso
Reported 2019-11-11 16:55:07 PST
Created attachment 383315 [details] [Image] Screenshot of issue .
Attachments
[Image] Screenshot of issue (587.92 KB, image/png)
2019-11-11 16:55 PST, Devin Rousso
no flags
Patch (2.20 KB, patch)
2019-11-11 16:59 PST, Devin Rousso
no flags
Patch (2.60 KB, patch)
2019-11-12 12:21 PST, Devin Rousso
no flags
Devin Rousso
Comment 1 2019-11-11 16:59:00 PST
Joseph Pecoraro
Comment 2 2019-11-11 17:25:34 PST
Comment on attachment 383317 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=383317&action=review > Source/WebInspectorUI/UserInterface/Views/ImageResourceContentView.css:-38 > -.content-view.resource.image > .drop-zone { > - top: calc(var(--navigation-bar-height) - 2px); /* borders */ > -} I'd expect to keep this offset but not include it if there is no banner. So something like: .content-view.resource.image.no-banner > .drop-zone { ... }
Devin Rousso
Comment 3 2019-11-12 11:04:04 PST
Comment on attachment 383317 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=383317&action=review >> Source/WebInspectorUI/UserInterface/Views/ImageResourceContentView.css:-38 >> -} > > I'd expect to keep this offset but not include it if there is no banner. So something like: > > .content-view.resource.image.no-banner > .drop-zone { ... } Ah! I totally forgot about the banner! I was wondering why this code existed :P Good catch!
Devin Rousso
Comment 4 2019-11-12 12:21:17 PST
Joseph Pecoraro
Comment 5 2019-11-12 14:07:16 PST
Comment on attachment 383369 [details] Patch r=me
WebKit Commit Bot
Comment 6 2019-11-12 16:39:16 PST
Comment on attachment 383369 [details] Patch Clearing flags on attachment: 383369 Committed r252379: <https://trac.webkit.org/changeset/252379>
WebKit Commit Bot
Comment 7 2019-11-12 16:39:18 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 8 2019-11-12 16:40:16 PST
Note You need to log in before you can comment on or make changes to this bug.