[svgwg] Issue: <svg:use/> allows for infinite reference cycles. (#770) marked as Document structure chapter

AmeliaBR has just labeled an issue for https://github.com/w3c/svgwg as "Document structure chapter":

== <svg:use/> allows for infinite reference cycles. ==
Under #UseElement, the text

> If the referenced element is a (shadow-including) ancestor of the ‘use’ element, then this is an invalid circular reference and the ‘use’ element is in error.

requires the generation of infinitely deep shadow trees if it references something containing a reference cycle. It should be corrected to

> If the referenced element is a (shadow-including) ancestor of the ‘use’ element or the referenced element of such an ancestor, then this is an invalid circular reference and the ‘use’ element is in error.

See https://github.com/w3c/svgwg/issues/770

Received on Saturday, 4 January 2020 15:07:14 UTC