svgSalamander icon indicating copy to clipboard operation
svgSalamander copied to clipboard

logic error in SVGElement.getStyle()

Open cbfiddle opened this issue 7 years ago • 0 comments

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.

cbfiddle avatar Apr 30 '17 03:04 cbfiddle