Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

logic error in SVGElement.getStyle() #19

Open
cbfiddle opened this issue Apr 30, 2017 · 0 comments
Open

logic error in SVGElement.getStyle() #19

cbfiddle opened this issue Apr 30, 2017 · 0 comments

Comments

@cbfiddle
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant