Fix an issue when initializing the classList property of a Component from a SVG element.

The className property of an SVG element is not a DOMString but a SVGAnimatedString, which has no trim or split functions. Fix specs related to this change.