Closed Bug 1335046 Opened 7 years ago Closed 7 years ago

SVG nodes are not duplicated when importing USE nodes from another document.

Categories

(Core :: SVG, defect, P3)

51 Branch
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: thibaultzanini, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36

Steps to reproduce:

Prerequisites:
- An HTML page with a SVG node.

Steps to reproduce: 
1. Create a new document.
2. Add to this new document a SVG and USE nodes that refer to some existing SVG nodes from the DOM.
3. Try to import this node into the DOM.

Live demo:
http://jsbin.com/yuqocoqojo/edit?html,js,output


Actual results:

No SVGs are displayed.
Works on Chrome 55, MS Edge and Safari 10 


Expected results:

SVGs should be displayed.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Component: Untriaged → SVG
Product: Firefox → Core
Priority: -- → P3
Seems to work now. Perhaps the <use> rewrite fixed it.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.