Closed Bug 451792 Opened 16 years ago Closed 12 years ago

Sidebar iframe does not show tooltips for links.

Categories

(Firefox :: General, defect)

3.0 Branch
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: vogt, Unassigned)

References

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0

Our extension moji creates a firefox sidebar to allow dictionary lookups. The sidebar xul contains an iframe into which we write the dictionary contents of a found entry. The html in this iframe contains links with a title attribute which in normal windows would show tooltips. However, in the sidebar iframe it does not.

I have compared the styles for the same html code in the sidebar iframe and in a normal browser window, but it looks the same. It seems to me as if the iframe in the sidebar does not support tooltops for its html contents.

Reproducible: Always

Steps to Reproduce:
1. Install moji extension and japanese-english dictionary from moji.mozdev.org
2. Open the moji sidebar.
3. From this bug text select the following three kanji 東京都
4. Press "Word" button in the sidebar.
5. Now move the mouse over the "(n)" in the sidebar. The "n" is a link <a href="..." title="noun..."> which should show a tooltip if you move the mouse over it. It does not.

6. To verify the HTML is correct and how it should work, open the "More..." menu from the moji sidebar and "Export as HTML...". It opens a new browser window containing the sidebar results. Now move the mouse over the "n" link. It shows the tooltip. The new browser window contains the exact replicate of the sidebar iframe html contents.
Actual Results:  
The tooltip does not appear in the sidebar iframe.

Expected Results:  
It should appear.
Blocks: 483953
Depends on: 560305
Version: unspecified → 3.0 Branch
Gerald, have you tried adding following attribute to your iframe?
<iframe tooltip="aHTMLTooltip">

This is necessary in order to display tooltips in embedded iframes, browsers, etc.

Can you let us know if this works for you?
Gerald Vogt, does this work for you?
No response from user, closing.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
No longer depends on: 560305
You need to log in before you can comment on or make changes to this bug.