Closed
Bug 1090334
Opened 11 years ago
Closed 11 years ago
SVG <use> recursion update limitation
Categories
(Firefox :: Untriaged, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 467498
People
(Reporter: tomxor, Unassigned)
References
()
Details
Attachments
(1 file)
|
532 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/37.0.2062.120 Chrome/37.0.2062.120 Safari/537.36
Steps to reproduce:
1. Create any kind of shape
2. Create two or more <use> elements
3. Chain the use element references together with the shape as the root reference
4. Change the shape visually in any way to trigger an update of references to it
Actual results:
When updating the shape, only first level references are updated.
Expected results:
The expected behaviour and also the behaviour of Chrome, Safari and IE (including IE9)... is an update of the entire tree of use elements (with more than one level of depth).
The SVG 1.1 2nd edition states separately that...
A:
Recursive non circular use of the use element is supported:
"If the referenced object is itself a ‘use’, or if there are ‘use’ subelements within the referenced object, the instance tree will contain recursive expansion of the indirect references to form a complete tree."
From: <a href="http://www.w3.org/TR/SVG/struct.html#InterfaceSVGElementInstance">5.11.9 Interface SVGElementInstance</a>
B:
Use elements should be updated (and implicitly recursively updated) when the referenced element is animated:
"Animations on a referenced element will cause the instances to also be animated."
From: <a href="http://www.w3.org/TR/SVG/struct.html#UseElement">5.6 The ‘use’ element</a>
<a href="http://jsbin.com/giluhawobu/1/">Live test page</a>
| Reporter | ||
Updated•11 years ago
|
Updated•11 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•