Forum How do I...?

calc() css values

abernier
Hi,

Does Prince supports calc() values ? (cf. http://www.w3.org/TR/css3-values/#calc)

Eg:
.foo {
  width: calc(100% - 1rem + 3px);
}


Thank you
mikeday
No, and no rem units yet either.
riddhijain
Have you fixed issue for calc() function?
mikeday
calc() is not supported yet, although rem units are.
nvdbleek
Are there any plans for supporting calc()?
mikeday
We hope to support it in the future, yes.
Babelfish
One year later. Any news?
mikeday
One year closer to supporting it! :D
mikeday
We have now released a latest build that supports calc() for the width and height properties and we will support it on other properties soon!
mikeday
Today we have an updated latest build of Prince that extends calc() support to margins, padding, position offsets, background and border properties, color values, and vertical alignment.
mikeday
We have a new latest build that adds calc() support for the letter/word-spacing properties, the font-size, font-weight, and line-height properties, column properties, box/text-shadow properties, and support for angle units in the hsl(), hsla(), and linear-gradient() functions.
shivaram
Does prince-books.exe support calc(), since I get this warning in the log file.
warning: unsupported functions: calc()
mikeday
Not yet, it will include calc() after the release of Prince 14.