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

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

From: Robert O'Callahan <robert@ocallahan.org>
Date: Thu, 4 Nov 2010 22:36:42 +1300
Message-ID: <AANLkTinCyVCfpDMsysV+TMefyvuOAKA_-AFOVJVQXvRt@mail.gmail.com>
To: Sylvain Galineau <sylvaing@microsoft.com>
Cc: Simon Fraser <smfr@me.com>, Øyvind Stenhaug <oyvinds@opera.com>, "www-style@w3.org" <www-style@w3.org>
On Thu, Nov 4, 2010 at 10:07 PM, Sylvain Galineau <sylvaing@microsoft.com>wrote:

>  Well, I find this behavior to be really weird. The content did **not**
> cause any overflow, the transform did. So this visual effect that supposedly
> happens post-layout turns out to change the rendering of the object being
> transformed to reflect the presence of scrollbars that wouldn’t be there if
> it wasn’t for the transform. It doesn’t seem that great perf-wise either.
>

Maybe so, although I think you can optimize pretty well for the case where
there no visible scrollbars could be affected.

Maybe the "post-layout" aspect was oversold (by who?), but I do think this
behaviour is best for users and authors. If you want to be able to scroll to
see overflowing content, presumably you want to be able to see transformed
content too.

Rob
-- 
"Now the Bereans were of more noble character than the Thessalonians, for
they received the message with great eagerness and examined the Scriptures
every day to see if what Paul said was true." [Acts 17:11]
Received on Thursday, 4 November 2010 09:37:14 GMT

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