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

Image with border-radius does't work #346

Closed
jorgecasar opened this issue Mar 7, 2014 · 7 comments
Closed

Image with border-radius does't work #346

jorgecasar opened this issue Mar 7, 2014 · 7 comments
Labels

Comments

@jorgecasar
Copy link

Images with border radius appear as a square. I tryed adding 1px border with color and transparent to force the border.

I also tryed with a wrapper div with the border and overflow:hidden, but it doesn't work either.

Is this a bug? There any CSS trick to solve it?

@brcontainer
Copy link
Contributor

by what you said seems to be a bug, but put a test case of the problem to understand how you are working the html.

@jorgecasar
Copy link
Author

I made this jsfindle but it's not working because of the external images I guess. But it is enough to show an example of what I tested.

Dirty trick: By the moment, I changed the images for background images.

@brcontainer
Copy link
Contributor

Is really a BUG, not rendering images with border-radius.

The div#test2 can render, but the image overlaps it.

@niklasvh occurs also on 5.0-rc1

@niklasvh
Copy link
Owner

niklasvh commented Oct 7, 2014

Should be fixed

@niklasvh niklasvh closed this as completed Oct 7, 2014
@peterzhai
Copy link

@niklasvh hello,I use v1.0.0-alpha.10,and I still have this problem~

@moothemonkey
Copy link

Has this issue been resolved? I am trying to download an image from a canvas element that has a border-radius but the saved image (from canvas.todataurl()) is square.

@KararBarcha
Copy link

Still not working for me. "html2canvas": "^1.4.1"

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

No branches or pull requests

6 participants