Forum Feature requests

CSS Transforms support

pepelsbey
I'm working on Shower presentation template and really want to be able to convert in to PDF via Prince. There's no other options, to be honest. That's why I'm disturbing you with all those bugs and now with feature request ;)

I have .middle class name to center everything in the middle of the slide:

/* Middle */
.middle {
	position:absolute;
	top:50%;
	left:50%;
	-webkit-transform:translate(-50%, -50%);
	-moz-transform:translate(-50%, -50%);
	-ms-transform:translate(-50%, -50%);
	-o-transform:translate(-50%, -50%);
	transform:translate(-50%, -50%);
	}


…but it doesn't work in Prince.

So I wonder, would it be possible to use CSS Transforms in the near future?

ps: Now I'm thinking about extra JS to emulate transform:translate behavior for .middle class…
mikeday
Yes, CSS Transforms will be supported in Prince 8.1. Till then, if you only need to translate perhaps you can find a way to use positioning?
pepelsbey
Hmm, http://princexml.com/roadmap/

Support CSS3 Transforms. (ref, ref, ref, ref)
Done 2011-08-29


Does it mean “released” or just “done and ready to be included to the next release”?

Oh, 8.1 — now I see.
mikeday
Right, it will be included in the next release.
mikeday
Prince 8.1 is now available, and includes the support for CSS3 Transforms.