We do the following in quite a few places in the code when computing the targetFrame for a popover: const padding = 2; bounds.origin.x -= padding; bounds.origin.y -= padding; bounds.size.width += padding * 2; bounds.size.height += padding * 2; It sounds like we ought to add a method on WebInspector.Rect to add padding.
Created attachment 218158 [details] Patch
Comment on attachment 218158 [details] Patch Nice, r=me
Comment on attachment 218158 [details] Patch Clearing flags on attachment: 218158 Committed r159946: <http://trac.webkit.org/changeset/159946>
All reviewed patches have been landed. Closing bug.