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

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

From: Simon Fraser <smfr@me.com>
Date: Tue, 01 May 2012 19:41:33 -0700
Cc: Boris Zbarsky <bzbarsky@mit.edu>, www-style@w3.org
Message-id: <E850C3FD-08A3-4EAB-9440-824FFD84598F@me.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
On May 1, 2012, at 7:06 pm, Tab Atkins Jr. wrote:

> On Tue, May 1, 2012 at 7:00 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
>> 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.
> "Rerun the cascade" is a possibility, I suppose…

…which WebKit does when printing anyway, to evaluate print media rules. So
this (using translate(10px, 0)) seems reasonable.

Received on Wednesday, 2 May 2012 02:42:10 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:15 UTC