Closed
Bug 1339788
Opened 7 years ago
Closed 7 years ago
xlink:href attribute of <animate> element is not honored when linked by <use> element
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 738574
People
(Reporter: tristan.fraipont, Unassigned)
Details
Attachments
(2 files, 2 obsolete files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:52.0) Gecko/20100101 Firefox/52.0 Build ID: 20170213070939 Steps to reproduce: When we set a <use> element to target a group of elements contained in an external File, and that one of these elements is an <animate> which TargetElement has been defined through the xlink:href attribute, then the TargetElement is not found (animate doesn't work). When the TargetElement is set implicitly, because <animate> is a child of the target, then it works fine. Live demo : http://plnkr.co/edit/n4kSVYt9cL2ygruecZfn?p=preview
Attachment #8837581 -
Attachment is obsolete: true
Fixes link so it works in bugzilla
Attachment #8837595 -
Attachment is obsolete: true
Comment 4•7 years ago
|
||
Perhaps, gecko can't animate with xlink:href attribute now. simple test case: https://people-mozilla.org/~myoshinaga/svg/bug1339788/testcase.html We can animate without xlink:href attribute. (The blue box of above testcase) If we use xlink:href attribute to animate tag, we can't animate which cloned by using use tag.( The red box of above testcase) The specification of animate tag, it allows xlink:href attribute. [1] So we will need to allow this behavior. Other User Agents is allowed this behavior. (Chrome / Safari) [1] https://www.w3.org/TR/SVG11/animate.html#AnimateElement
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•