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

pseudo-element positioning is off a bit. See codepen #1042

Open
anandmehrotra opened this issue Jan 27, 2017 · 1 comment
Open

pseudo-element positioning is off a bit. See codepen #1042

anandmehrotra opened this issue Jan 27, 2017 · 1 comment

Comments

@anandmehrotra
Copy link

anandmehrotra commented Jan 27, 2017

https://codepen.io/fuggfuggfugg/pen/zNPvma
Safari - works
screen shot 2017-01-27 at 1 15 11 pm


Chrome - broken
screen shot 2017-01-27 at 1 16 10 pm


FF - completely broken
screen shot 2017-01-27 at 1 15 39 pm


You will notice that the pseudo-element "AS" in the generated canvas appears in the top corner.

@anandmehrotra
Copy link
Author

anandmehrotra commented Jan 27, 2017

CSS transform: translate seems to be the issue.

Currently I'm fixing this by repositioning the element just before printing to canvas.
https://codepen.io/fuggfuggfugg/pen/NdwNBV

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Backlog
Awaiting triage
Development

No branches or pull requests

2 participants