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

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.

~TJ

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