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

Re: [css3-transforms] Effect of CSS transforms on scrollable areas

From: Robert O'Callahan <robert@ocallahan.org>
Date: Thu, 7 Jun 2012 17:29:29 +1200
Message-ID: <CAOp6jLY2Z6hOSHHOnmTU5CnRM6+ttPCfmBJ_3PK9O5v3ucS4+A@mail.gmail.com>
To: Simon Fraser <smfr@me.com>
Cc: Boris Zbarsky <bzbarsky@mit.edu>, www-style@w3.org
On Fri, Jun 1, 2012 at 8:42 AM, Simon Fraser <smfr@me.com> wrote:

> This optimization does become visible if the animating thing is inside
> overflow:scroll. Also, if something else forces layout (like
> offsetWidth/getBoundingClientsRects etc), then layout will occur and
> scrollbars will be updated.

According to my test referenced above, that actually doesn't happen.

Dispatching events to the content apparently causes layout to be flushed
(according to getBoundingClientRect) but scrollbars still don't appear at
that point. It's odd.

“You have heard that it was said, ‘Love your neighbor and hate your enemy.’
But I tell you, love your enemies and pray for those who persecute you,
that you may be children of your Father in heaven. ... If you love those
who love you, what reward will you get? Are not even the tax collectors
doing that? And if you greet only your own people, what are you doing more
than others?" [Matthew 5:43-47]
Received on Thursday, 7 June 2012 05:29:58 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:00 UTC