Changing the referred element of a SVGUseElement doesn't change the SVGUseElement

Not reproducible Issue #305720

Details

Created
Jun 10, 2014
Privacy
This issue is public.
Reports
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce

URL:

Repro Steps:

  1. Open http://jsfiddle.net/gonsfx/vFChe/

It includes an inline SVG with a SVGUseElement that references the id ‘target’ and a SVGGElement which is set to display: none.
An element with the id ‘target’ does not exist at the beginning.

  1. Click SVG (grey background)

Upon clicking the SVG, a new SVGPathElement with random dimensions and an id attribute of ‘target’ is created and appended to the (invisible) SVGGElement.
Webkit correctly displays the SVGUseElement on the first click.

  1. Click SVG again (grey background)

Upon clicking the SVG another time, the existing SVGPathElement is removed from the DOM and a new, randomly dimensioned one is appended to the (invisible) SVGGElement.
The SVGUseElement does not change.

Expected Results:

SVGUseElement always reflects change of its referred element.

Actual Results:

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Kamen M.”

      Changed Assigned To to “Rossen A.”

      Changed Assigned To from “Rossen A.” to “Bogdan B.”

      Changed Status to “Confirmed”

      Changed Assigned To from “Bogdan B.” to “IE F.”

      Changed Status from “Confirmed” to “Not reproducible”

    You need to sign in to your Microsoft account to add a comment.

    Sign in