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

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