Open Bug 1279570 Opened 8 years ago Updated 2 years ago

SVG <use> copies do not display <title> tooltips

Categories

(Toolkit :: General, defect)

34 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: mchl.wstn, Unassigned)

Details

Attachments

(1 file)

Attached file sample.svg.txt
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.84 Safari/537.36

Steps to reproduce:

Create a <symbol> or other element with a<title>, and then clone it using <use xlink:href>.  Mouseover


Actual results:

The title tooltip is not there!


Expected results:

Should have an on-hover tooltip
Attachment #8762119 - Attachment mime type: text/plain → text/html
Component: Untriaged → SVG
Product: Firefox → Core
Component: SVG → Untriaged
Product: Core → Firefox
Tooltips are a Firefox UI thing, not Core->SVG.
Component: Untriaged → General
Is there a DOM way to access the 'contents' of the <use> tag that doesn't involve manually parsing the references and looking up the element?
Flags: needinfo?(longsonr)
Product: Firefox → Toolkit
I don't think so, we've never implemented any of the use element's DOM methods.
Flags: needinfo?(longsonr)
(In reply to Robert Longson from comment #3)
> I don't think so, we've never implemented any of the use element's DOM
> methods.

Hm, I see. It seems Blink doesn't either. It's quite annoying, because without it the href could be pointing anywhere... Anyway, the code that wants fixing is here: http://searchfox.org/mozilla-central/rev/ff5673acd6a38a43bc250a2baa47df8fe6ef7859/toolkit/components/tooltiptext/TooltipTextProvider.js#110-122 .
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: