svgSalamander
svgSalamander copied to clipboard
logic error in SVGElement.getStyle()
There is a logic error in SVGElement.getStyle()
that has no impact in the current code base, where style sheets are unimplemented, but fails if style sheets are implemented. The problem is that if the code finds a style sheet, it unconditionally returns the attribute value from the style sheet, without checking to see if the attribute is undefined in the style sheet.