W3C home > Mailing lists > Public > www-style@w3.org > July 2015

Re: [css-overflow] interaction between "overflow-x" and "overflow-y", when one of them is "clip"

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 15 Jul 2015 10:22:51 -0700
Message-ID: <CAAWBYDAYueCF+TbuZMtkzPmAWPpaqNDCpGgvWdZnzihiJPX8uQ@mail.gmail.com>
To: Florian Rivoal <florian@rivoal.net>
Cc: Daniel Holbert <dholbert@mozilla.com>, www-style list <www-style@w3.org>
On Fri, Jul 3, 2015 at 9:20 AM, Florian Rivoal <florian@rivoal.net> wrote:
> - keep visible+clip computing into auto+clip

Agree; if you're explicitly just clipping one dimension, better to
make the other dimension scrollable so you don't lose content, because
anything overflowing was visible previously.

> - change overflow:visible + contain:paint to compute into
>   overflow:auto + contain:paint

STRONGLY disagree.  overflow:visible + contain:paint was *explicitly
intended* to allow optimizations surrounding a lack of scrollability.
This is possible optimization #2 in
<http://dev.w3.org/csswg/css-containment/#containment-paint>.

~TJ
Received on Wednesday, 15 July 2015 17:23:38 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:52:18 UTC