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: Brad Kemper <brad.kemper@gmail.com>
Date: Thu, 30 Jul 2015 17:50:47 -0700
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, Daniel Holbert <dholbert@mozilla.com>, www-style list <www-style@w3.org>
Message-Id: <E5497429-9246-4C56-B75F-B673589E286F@gmail.com>
To: Florian Rivoal <florian@rivoal.net>

> On Jul 30, 2015, at 8:00 AM, Florian Rivoal <florian@rivoal.net> wrote:
> So we resolved on B, modulo bikesheding.
> Top alternatives for now are:
> - overflow: clip
> - overflow: hidden no-scroll
> - overflow: none

Yay, bikeshedding! 😀 

I think having a compound value (hidden no-scroll) of two different words is a non-starter. For one thing 'no-scroll' wouldn't apply to any of the other values. For another, 'overflow' is a shorthand for two properties (overflow-x and overflow-y), and two values in the shorthand could lead many to assume that one was for x and the other for y. I think that misconception would be rampant for anyone learning CSS by reading other people's style sheets. 

I think 'none' is pretty good. 
Received on Friday, 31 July 2015 00:51:19 UTC

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