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

Re: [css3-images] element() "ignoring" transforms

From: Simon Fraser <smfr@me.com>
Date: Mon, 05 Mar 2012 10:31:18 -0800
Cc: "www-style@w3.org" <www-style@w3.org>
Message-id: <D3BDBDC7-078E-41F3-A498-BF20C7DF04AF@me.com>
To: Řyvind Stenhaug <oyvinds@opera.com>
On Mar 5, 2012, at 9:47 AM, Řyvind Stenhaug wrote:

> Regarding the eleemnt() function, CSS3 Images says
> 
> "If the referenced element has a transform applied to it or an ancestor,
> the transform must be ignored when rendering the element as an image.
> [[!CSS-TRANSFORMS]]"
> 
> I think it's probably worth detailing what it means for a transform to be
> "ignored". Should it be as if the transform property were 'none'? Note
> that this would have some additional effects, since a transformed element
> normally acts as a containing block for fixed-position descendants, for
> instance (even if it's just an identity transform).

I don't think it should behave as if the transform property were 'none'. It
would be extremely burdensome for an implementation if rendering of 
descendants of the element() target were different between the original
and the element() copy. element() should really just be a bitmap copy
of the original rendering, but that bitmap should be based on the post-transform
coordinate system.

Simon
Received on Monday, 5 March 2012 18:31:53 GMT

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