Re: [css3-transforms] Behavior on UAs without 3D support

On 5/1/12 9:53 PM, Tab Atkins Jr. wrote:
> On Tue, May 1, 2012 at 6:21 PM, Simon Fraser<smfr@me.com>  wrote:
>> But what about printing? Is it OK for a UA to treat 3D transforms as invalid in one context but not another?
>
> Yes, that's okay.  You normally don't see only *parts* of a property
> unsupported, but whole properties are regularly unsupported in
> printing contexts.

The question here is what should happen with this CSS:

   transform: translate(10px, 0);
   transform: translate(5px, 0) rotateY(50deg);

when printing if the print output for the UA can't do 3d transforms for 
some reason.  Should the element be translated by 10px?  Translated by 
5px?  Nothing at all?  Translated by 5px plus some transformation for 
the rotateY?  Something else?

For a UA that doesn't support 3D transforms at all, the answer would be 
"translate by 10px", but a UA that does support them has probably only 
retained the latter declaration when parsing the stylesheet.

-Boris

Received on Wednesday, 2 May 2012 02:01:06 UTC