• Parameters

    • child: Element

    Returns Element

    the parent of the child

    Description

    to call getComputedStyle for an SVG, the SVG has to be a member of the DOM, if it is not, use this function to create an invisible parent element on the window to satisfy this requirement.