Closed
Bug 705982
Opened 13 years ago
Closed 13 years ago
popupshowing event for tooltip is fired on XUL document rather than the HTML document which has the triggered content
Categories
(Core :: XUL, defect)
Core
XUL
Tracking
()
RESOLVED
INVALID
People
(Reporter: masayuki, Unassigned)
References
Details
http://mxr.mozilla.org/mozilla-central/source/layout/xul/base/src/nsXULPopupManager.cpp#660 nsXULPopupManager::ShowTooltipAtScreen() calls nsXULPopupManager::FirePopupShowingEvent() with only the showing tooltip node. And nsXULPopupManager::FirePopupShowingEvent() dispatches the event on the presContext which the showing tooltip belongs to. For a way to make tooltip tests on HTML contents, I think we should fire XUL popupshowing event (or a new event if it's better) on the document which has the triggered content too. Let me know your idea.
Comment 1•13 years ago
|
||
You can write tests HTML tooltips. Just make them browser-chrome tests.
Reporter | ||
Comment 2•13 years ago
|
||
Thanks, I succeeded it. -> INVA
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•