W3C home > Mailing lists > Public > public-css-archive@w3.org > November 2018

[csswg-drafts] [css-transforms-2] Should the overflow area take scroll position into account.

From: mattwoodrow via GitHub <sysbot+gh@w3.org>
Date: Wed, 14 Nov 2018 22:42:39 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-380919652-1542235358-sysbot+gh@w3.org>
mattwoodrow has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-transforms-2] Should the overflow area take scroll position into account. ==
When we have a scrolled transformed element, where the perspective property is set on the overflow:scroll element, then the accumulated transform matrix depends on scroll position (since the offset between transformed element, and perspective origin moves).

This means that the computed overflow area for the transformed element can change, and thus, the scrollable length of the overflow:scroll element (and the size of the scrollbar thumb).

The following testcase demonstrates a case where Gecko is recomputing the overflow/scrollable length as you scroll, but WebKit/blink don't, and you can't scroll the whole orange rectangle into view:
https://bug1198135.bmoattachments.org/attachment.cgi?id=8684006

You can also have the reverse case, where the transformed content scrolls fully into view early than expected, and there is remaining scroll range with no content.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3322 using your GitHub account
Received on Wednesday, 14 November 2018 22:42:40 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:59 UTC