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

Linear-gradient not working if color stop percentage defined #1838

Closed
2 tasks done
gergof opened this issue May 15, 2019 · 1 comment
Closed
2 tasks done

Linear-gradient not working if color stop percentage defined #1838

gergof opened this issue May 15, 2019 · 1 comment

Comments

@gergof
Copy link

gergof commented May 15, 2019

Please make sure you are testing with the latest release of html2canvas.
Old versions are not supported and issues reported for them will be closed.

Please follow the general troubleshooting steps first:

  • You are using the latest version
  • You are testing using the non-minified version of html2canvas and checked any potential issues reported in the console

Bug reports:

If you set color stops using percentage/pixel/em, it will render only one of the colors.
jsfiddle

If you set multiple color stops of the same color, it will render only two of them.
jsfiddle

Specifications:

  • html2canvas version tested with: 1.0.0-rc.1
  • Browser & version: Chromium 73.0.3683.75 (Developer Build) built on Debian 9.8
  • Operating system: Debian 9.8
@niklasvh
Copy link
Owner

this is fixed in #1828

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

2 participants