Closed Bug 1384059 Opened 7 years ago Closed 7 months ago

SVG: "Copy link location" of <a xlink:href="relativePath"> does not copy full URL

Categories

(Firefox :: Menus, defect, P5)

56 Branch
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: nachtigall, Unassigned)

Details

Attachments

(1 file)

Attached file svg_a_link_copy.html
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0
Build ID: 20170724030204

Steps to reproduce:

Right click on the SVG <a> link and select "Copy link location"


Actual results:

Only the relative Path is copied. Which is quite useless as it does not contain a pasteable full URL.


Expected results:

Copy the full URL like done for html links.

FWIW, the "Copy link location" menu entry is available in Firefox 56 but not yet in Firefox 54. So I guess the functionality to copy SVG <a> links was just added recently, but it was forgotten to copy the full path (URL) for links not just whatever string is inside <a xlink:href="relativePath"> (e.g. "relativePath") verbatim.

Attached is a minimal testcase.
Component: Untriaged → Menus
Priority: -- → P5
Severity: normal → S3

Seems OK now.

Status: NEW → RESOLVED
Closed: 7 months ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: