Open Bug 370968 Opened 19 years ago Updated 3 years ago

Html elements in xul window can get tooltip of the xul window when hovering over them

Categories

(Core :: General, defect)

x86
Windows XP
defect

Tracking

()

People

(Reporter: martijn.martijn, Unassigned)

Details

(Keywords: testcase)

Attachments

(2 files)

453 bytes, application/vnd.mozilla.xul+xml
Details
614 bytes, application/vnd.mozilla.xul+xml
Details
Attached file testcase
See testcase, when hovering over the text, you get a tooltip, this contains the text of the title attribute of the xul window. This seems weird to me. I don't you should get to see a tooltip in this case.
What do you think should happen instead? This is happening because of the code in browser.js::FillInHTMLTooltip Perhaps it should check to ensure the elements it is looking at are really html.
Attached file testcase2
I don't think you should get a tooltip, same for this testcase. Btw, ChromeListener::FindTitleText mention at http://lxr.mozilla.org/seamonkey/source/browser/base/content/browser.js#2598 doesn't exist, it seems like it is called DefaultTooltipTextProvider::GetNodeText now. Do you know when DefaultTooltipTextProvider::GetNodeText is called?
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: