Closed
Bug 786975
Opened 12 years ago
Closed 12 years ago
Tooltips not positioned properly when using openPopup on OSX & Windows
Categories
(Core :: XUL, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: miker, Unassigned)
Details
Take the following test case:
const XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
let tooltip = document.createElementNS(XUL_NS, "tooltip");
document.documentElement.appendChild(tooltip);
tooltip.label = "Some text";
tooltip.openPopup(someElement, "before_start", 0, 0, false, false, null);
The tooltip opens vertically too low on OSX and Windows although it is fine on Linux.
Comment 1•12 years ago
|
||
Tooltips have a 21 pixel top margin so as not to obstruct the mouse pointer they normally appear next to. You can override the margin if you are opening one manually.
Reporter | ||
Comment 2•12 years ago
|
||
If this is by design then we should leave it.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
Comment 3•7 years ago
|
||
Moving to Core:XUL per https://bugzilla.mozilla.org/show_bug.cgi?id=1455336
Component: XP Toolkit/Widgets: XUL → XUL
You need to log in
before you can comment on or make changes to this bug.
Description
•