W3C home > Mailing lists > Public > www-style@w3.org > November 2010

RE: [css3-2d-transforms] Should a transformed element reflow its content ?

From: Sylvain Galineau <sylvaing@microsoft.com>
Date: Wed, 3 Nov 2010 15:02:25 +0000
To: Øyvind Stenhaug <oyvinds@opera.com>
CC: "www-style@w3.org" <www-style@w3.org>
Message-ID: <045A765940533D4CA4933A4A7E32597E287C8DA4@TK5EX14MBXC115.redmond.corp.microsoft.com>
> From: Øyvind Stenhaug [mailto:oyvinds@opera.com]
> Sent: Wednesday, November 03, 2010 3:43 PM
> To: Sylvain Galineau
> Cc: www-style@w3.org
> Subject: Re: [css3-2d-transforms] Should a transformed element reflow
> its content ?
> 
> On Wed, 03 Nov 2010 15:05:52 +0100, Sylvain Galineau
> <sylvaing@microsoft.com> wrote:
> 
> > The middle test applies the same transform but the parent has
> > overflow:scroll. In this case it seems the text is being reflowed
> > in most implementations today i.e. it no longer wraps as the
> > reference element does. (You may have to carefully examinate which
> > word begins a given line to spot the difference).
> 
> 100% of 200px is not the same as 100% of (200px - scrollbar width). Try
> removing the transform rules, the 'scroll' version still wraps
> differently.
> 
> (On top of that, Opera currently draws transformed text a little
> differently, which I consider a bug.)

OK, let me clarify. It must be noted that this testcase assumes the
content being transformed does not overflow in the absence of the
transform i.e. the overflow is caused *by* the transform. In this
case I don't understand how the latter impacts the rendering of the
transformed element. You can still see the different when overflow
is auto.
Received on Wednesday, 3 November 2010 15:03:00 GMT

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