Bug 191372

Summary: Inserting an attached item to an SVGList should not remove it from its current SVGList
Product: WebKit Reporter: Said Abou-Hallawa <sabouhallawa>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: zimmermann
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 191292    

Description Said Abou-Hallawa 2018-11-07 09:26:06 PST
Instead it should make a copy and insert the copy without affecting the attached item.

SVG 1.1 specs: https://www.w3.org/TR/SVG11/types.html#InterfaceSVGLengthList
SVG 2 specs: https://www.w3.org/TR/SVG/types.html#TermListInterface

This will affect the following methods:
initialize()
insertItemBefore()
replaceItem()
appendItem()

of the following interfaces:
SVGNumberList
SVGLengthList
SVGTransformList
SVGPathSegList
Comment 1 Said Abou-Hallawa 2019-04-13 02:26:16 PDT
This is already fixed by removing the SVG properties tear off objects.

*** This bug has been marked as a duplicate of bug 191237 ***