W3C home > Mailing lists > Public > www-style@w3.org > January 2016

Re: [css-transforms] Interaction of transforms with scrollable area

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 19 Jan 2016 11:20:05 -0800
Message-ID: <CAAWBYDBgwNsSMgpkmK5YaRyqa0oiCJRrjLJkFi=o_nQz3pjcDA@mail.gmail.com>
To: "Robert O'Callahan" <robert@ocallahan.org>
Cc: www-style <www-style@w3.org>
On Sat, Jan 9, 2016 at 2:25 AM, Robert O'Callahan <robert@ocallahan.org> wrote:
> Context: https://bugzilla.mozilla.org/show_bug.cgi?id=1236386
> https://bug1236386.bmoattachments.org/attachment.cgi?id=8703469
>
> This issue's probably already been discussed but I don't know where. The
> question is: how does a transformed element contribute to the scrollable
> area of an "overflow:auto/scroll" ancestor? For example, does its border-box
> before transformation contribute to the scrollable area?
>
> In the referenced testcase Chrome seems to say "no" if the transformed
> element is a direct child of the box, "yes" otherwise. Firefox says "yes,
> but only in the vertical direction". Edge says "yes". More testing would
> probably be worthwhile.

I think the answer needs to be "yes".  We've slid into treating
transforms as a kind of positioning scheme, and it seems obviously
correct that snap points should respond to transforms, so scrolling in
general should as well.

~TJ
Received on Tuesday, 19 January 2016 19:20:53 UTC

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