[Webkit-unassigned] [Bug 125072] New: Web Inspector: add a method to add padding around a WebInspector.Rect
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Dec 2 03:33:58 PST 2013
https://bugs.webkit.org/show_bug.cgi?id=125072
Summary: Web Inspector: add a method to add padding around a
WebInspector.Rect
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P2
Component: Web Inspector
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: graouts at apple.com
CC: timothy at apple.com, joepeck at webkit.org,
webkit-bug-importer at group.apple.com, graouts at apple.com
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.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list