jonnnnyw / php-phantomjs

Execute PhantomJS commands through PHP
MIT License
1.44k stars 433 forks source link

CSS Transform Scale Breaking #262

Open Cmaxster opened 6 years ago

Cmaxster commented 6 years ago

Is anyone else experiencing problems with PhantomJS whereby the headless webkit appears to ignore or interpret css transforms differently from other browsers?

I've tried using the vendor prefix -webkit-transform as well as GreenSock's animation platform to smooth out browser inconsistencies, but whatever version of webkit PhantomJS is using doesn't seem to pay attention to CSS transforms.

This is an issue for me as the project I'm working on is heavy on screen capturing the end frames of HTML5 animations via the GreenSock platform.

example CSS code:

logo {

-webkit-transform: scale(0.73); transform: scale(0.73); }

Anyone have any fixes?