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

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

From: L. David Baron <dbaron@dbaron.org>
Date: Mon, 5 Mar 2012 10:51:21 -0800
To: Øyvind Stenhaug <oyvinds@opera.com>
Cc: "www-style@w3.org" <www-style@w3.org>
Message-ID: <20120305185121.GA27216@pickering.dbaron.org>
On Monday 2012-03-05 18:47 +0100, Ø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.
> 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).

Yeah, I don't think it means to change the parenting of
fixed-positioned elements.  I think it means that the image that
element() represents is captured in the coordinate space of the
element, so that any transforms on the element or its ancestors
don't cause a transformation of the resulting image.


𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                           http://www.mozilla.org/   𝄂
Received on Monday, 5 March 2012 18:52:16 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:56 UTC