WARNING: This server is unstable and will be retired in the next days. If you want to keep this forum available, please request immediately a migration on the Nabble Support forum. Forums that don't receive any migration request will be deleted forever.

 « Return to Thread: [css3-images] element() "ignoring" transforms

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

by Tab Atkins Jr. :: Rate this Message:

| View in Thread

On Mon, Mar 5, 2012 at 9:47 AM, Øyvind Stenhaug <oyvinds@...> 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 should specify that.  The intent is similar to how SVG defines this
kind of thing; that a "virtual" transform that's the inverse of the
CTM is applied after the element's transform.  Thus, the side-effects
you get from transforming the element (like becoming a fixpos
container) are still preserved.

~TJ

 « Return to Thread: [css3-images] element() "ignoring" transforms