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

An error was observed in the web based version (which is not in production) relating to valid colour values. #235

Open
PeterWithers opened this issue Jun 18, 2015 · 1 comment

Comments

@PeterWithers
Copy link
Member

An error occurred: (SyntaxError) : Failed to execute 'addColorStop' on 'CanvasGradient': The value provided ('rgba(0,0,0,0);') could not be parsed as a color.

@PeterWithers
Copy link
Member Author

It seems that Chrome cannot have a ; when using addColorStop.
This works: addColorStop(1, 'hsl(0,100%,50%)');
This does not: addColorStop(1, 'hsl(0,100%,50%);');

Presumably this does not affect the mobile web views that we have developed this app for. So this will only affect some web browsers when using the application as a web app and not affect the mobile app.

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