-
Notifications
You must be signed in to change notification settings - Fork 5.8k
3D CSS Transforms not working #12779
Comments
Any update on this issue? |
There's currently no support for 3D CSS transformations as it's saying on "Supported Web Standards":
But:
|
Any update on this? Trying to record an animation that uses 3d transforms. |
Currently this is not supported and maybe will be supported in the future. |
Any update on this issue? |
WebKit core does support 3D transforms, but it is not clear to me what we would have to do to make them available in PhantomJS; there is no obvious toggle at the Qt level. And, like other 3D features (e.g. WebGL) activating the feature might suddenly cause the program to grow a dependency on a GPU. PhantomJS core development is extremely manpower-limited. We are not likely to dig into this in the near future. If one of you wants to figure out what needs doing and send us a pull request, that would be very helpful. |
Hi everyone. A simple trick that worked for me after seeing that 3D css transform does not work with phantomJS.
It saved me from coding an alternative to it. |
The solution that helped me: |
Quite surprised that this issue is still open after ≈ 2 years. No way to render leaflet map markers because of this :–( |
-webkit-transfrom is working very welll thx |
Hello guys.
-webkit-transform works for translate, scale, rotate, but DOES NOT work for rotateY, which is rotating in 3D.
If you guys have any progress or workarounds with regards to this, please let me know.
I’ve been more than 2 years now without being able to solve this… :(
Thanks
|
Even |
Could you please try again with 2.5 binary? Thanks! |
I'm using nightwatch to run some e2e tests. Tried 2.5.0 beta, the same as 2.1.1, no luck. In my project, when the menu button is clicked, the element .menu {
transform: translate(-200px, 0);
transition: transform .3s ease;
}
.menu-open {
transform: translate(0, 0);
} In my test case I check whether .menu {
-webkit-transform: translate(-200px, 0);
transform: translate(-200px, 0);
transition: -webkit-transform .3s ease;
transition: transform .3s ease;
}
.menu-open {
-webkit-transform: translate(0, 0);
transform: translate(0, 0);
} The class name is added correctly, but .menu {
-webkit-transform: translate(-200px, 0);
transform: translate(-200px, 0);
transition: -webkit-transform .3s ease;
transition: transform .3s ease;
}
.menu-open {
-webkit-transform: translate(0, 0);
transform: translate(0, 0);
/* The following two lines are the trick */
transition: -webkit-transform .3s ease;
transition: transform .3s ease;
} This works as expected in Phantom 2.1.1 but quite weird. And I think it's not right to code like this just to fool the tests. |
" -webkit-transform" worked. :) |
hey how can i use css transform : matrix3d('values') , i am unable to use in webshot with phantomjs, i feel it dosent support .plz help |
-webkit-transform: rotate(90deg); This worked in my case, you can just adjust the rotation accordingly |
Due to our very limited maintenance capacity (see #14541 for more details), we need to prioritize our development focus on other tasks. Therefore, this issue will be automatically closed. In the future, if we see the need to attend to this issue again, then it will be reopened. Thank you for your contribution! |
Hello!
When I try yo capture a page where CSS 3D Transforms are applied to certain elements, it doesn't look good. I think I've read PhantomJS does not support 3D Transforms yet.
Are you planning to support this feature or is there any workaround you could think of?
Thank you very much and keep up the good work!
Martin
The text was updated successfully, but these errors were encountered: