W3C home > Mailing lists > Public > www-style@w3.org > May 2012

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

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 01 May 2012 22:00:36 -0400
Message-ID: <4FA09544.40401@mit.edu>
To: www-style@w3.org
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:53 GMT