Re: [css3-2d-transforms] Implementation report

On Feb 8, 2012, at 5:03 PM, Simon Sapin wrote:

> Hi,
> 
> I just released WeasyPrint[1] 0.5 with (prefixed) support for 2D transforms.
> 
> In the sample document[2] the blue "W3C Recommendation" background image is replaced by a rotated margin box.
> 
> The "current transformation matrix" model is the same as in cairo (which I use for drawing), so the implementation is pretty straight-forward.

Cool!

> I only had two minor issues that were already reported here:
> 
> 1. e and f in matrix(a,b,c,d,e,f) really are lengths, not unit-less numbers

The WG just resolved today to leave 'e' and 'f' unit-less, for better compatibility with matrix3d() and SVG.

> 2. The syntax for transform-origin should probably be unified with background-position.

This was the original intention, but addition of the Z parameter for 3D transforms results in ambiguity. This issue needs to be resolved somehow:
<https://www.w3.org/Bugs/Public/show_bug.cgi?id=15432>.

Simon F.

> 
> 
> [1] http://weasyprint.org/
> [2] http://weasyprint.org/samples/CSS21-intro.pdf
> 
> Regards,
> -- 
> Simon Sapin
> 

Received on Wednesday, 8 February 2012 18:57:51 UTC