Changeset 173015 in webkit
- Timestamp:
- Aug 27, 2014, 1:19:33 PM (11 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r173010 r173015 1 2014-08-27 Saam Barati <sbarati@apple.com> 2 3 Web Inspector: Layout issues for popover on not legacy OS 4 https://bugs.webkit.org/show_bug.cgi?id=136268 5 6 Reviewed by Joseph Pecoraro. 7 8 On the latest OS, popovers invade the title bar's space which will 9 cause layout issues because the title bar will render above 10 the popover. Fix this by providing some padding for popovers on 11 not legacy OSs. 12 13 * UserInterface/Views/Popover.js: 14 1 15 2014-08-27 Timothy Hatcher <timothy@apple.com> 2 16 -
trunk/Source/WebInspectorUI/UserInterface/Views/Popover.js
r168919 r173015 197 197 } 198 198 199 const titleBarOffset = WebInspector.Platform.name === "mac" && !WebInspector.Platform.isLegacyMacOS ? 22 : 0; 200 var containerFrame = new WebInspector.Rect(0, titleBarOffset, window.innerWidth, window.innerHeight - titleBarOffset); 199 201 // The frame of the window with a little inset to make sure we have room for shadows. 200 var containerFrame = new WebInspector.Rect(0, 0, window.innerWidth, window.innerHeight);201 202 containerFrame = containerFrame.inset(WebInspector.Popover.ShadowEdgeInsets); 202 203
Note:
See TracChangeset
for help on using the changeset viewer.