user3665322
user3665322

Reputation: 165

3D transform of things inside SVG working in Firefox but not Chrome

The " transform-style: preserve-3d;" is working in Firefox -- the transforms are indeed non-affine. But in Chrome, the animation is simple 2D and affine.

http://cs.sru.edu/~ddailey/svg/XYZrot3D2.svg

Upvotes: 2

Views: 368

Answers (1)

Paul LeBeau
Paul LeBeau

Reputation: 101938

It's not a Chrome bug. Non-affine transforms, such as 3D transforms, are defined by the CSS Transforms Module Level 1. The requirement to follow that specification is part of the in-development SVG2 standard. It is not required by the current SVG1.1 standard.

So the fact that Firefox supports it now is a bonus. I'm sure Chrome will support it eventually also.

Upvotes: 1

Related Questions