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

Re: [css-overflow] A question about overflow-x and overflow-y

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 31 May 2016 15:52:46 -0700
Message-ID: <CAAWBYDC3D1ERETJ_Hmokg3dKZrJvyYvKJjhRWJQgg-yk6NrULA@mail.gmail.com>
To: Florian Rivoal <florian@rivoal.net>
Cc: Justice <justice360@gmail.com>, www-style list <www-style@w3.org>
On Mon, May 30, 2016 at 6:10 PM, Florian Rivoal <florian@rivoal.net> wrote:
> * if an element could be overflow-x: visible and overflow-y: scroll, you would have a vertical scrollbar on the right (typically) side of the element, overlapping with the visibly overflowing content in the inline direction, which is terrible. Same for visible + auto. This isn't necessarily a problem for visible+hidden, but at least it explains why the other values cannot be combined with visible.

It's also just bizarre in general. All the scrolling values have the
physical metaphor of a viewport into the underlying content, which
gives a good intuition about how the scrolling and clipping works.
Combining scroll+visible, tho, means that content that is overflowing
vertically would still be cut off horizontally; that doesn't make any
sense! It's already overflowing, why is clipping happening? But if it
doesn't clip horizontally, then what happens within the element's
bounds in the horizontal axis? It's all kinds of silly.

Received on Tuesday, 31 May 2016 22:53:33 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:59 UTC