Phantomjs: Not support flexbox css?

Created on 27 Nov 2016  路  7Comments  路  Source: ariya/phantomjs

  1. Which version of PhantomJS are you using? Tip: run phantomjs --version. 2.1.1

  2. What steps will reproduce the problem?


    1. 2.
      3.
  3. Which operating system are you using? OSX El-Capitan 10.11.6

  4. Did you use binary PhantomJS or did you compile it from source? YA.

  5. Please provide any additional information below.
    I put a screenshot from my web page, and the result is messy if the element using flexbox style.

Most helpful comment

Flexbox landed in 2.5 beta!

All 7 comments

Here the screenshot with phantomjs
image

compared with this one with Google Chrome
image

The PhantomJS webkit version is ancient and unlikely to change immediately (v2.5 is still a little while off). If you are able to run your headless browser on an OS with an X-server (or XVFB), I would suggest you try using Electron or SlimerJS instead. Both should support Flexbox rendering and a whole host of modern web features (including ES6 scripting).

Full flexbox support will be in version 2.5.

Wow, sounds cool 馃憤馃徏

Flexbox landed in 2.5 beta!

Hello!

I'm trying to use the 2.5.0 (first, second does not work, lacks something in F:\ drive) beta version with flexbox support, and my modern CSS is working fine as expected. But the PDF renderization only gives me 1 page. It cuts the content of my web page in half as expected, but do not loops over pages, so my final DPF is single paged, no matter what combination of options.

Am I missing something here?

Thank you.

Modern web features (flexbox etc) will be only supported via an updated QtWebKit.
From now on, please track #15342. Thank you!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dhilipsiva picture dhilipsiva  路  4Comments

mdominado picture mdominado  路  3Comments

yairza picture yairza  路  6Comments

Sayalic0 picture Sayalic0  路  5Comments

maboiteaspam picture maboiteaspam  路  3Comments