Is it expected that CSS calc() wouldn't work?
I'm trying to apply some styles with
calc()css function and it is completely ignored in PDF render, is this expected?
it is expected depending on the recipe that you are using, for example phantom recipe does not support it, because phantomjs instead supports
calc(), not sure if
wkhtmltopdfsupports it, it really depends on the css features that the internal html engine supports. for example i think chrome recipe support it because it uses chrome engine under the hood, but now sure how the
calc()and layout position in that case will behave when it is translated to pdf, you will need to try and see if it works for your case.
thank you, I'm using wkhtmltopdf