[csswg-drafts] [css-overflow] Is the box a scroll container if only one of 'overflow-x' or 'overflow-y' is 'clip'?

Loirooriol has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-overflow] Is the box a scroll container if only one of 'overflow-x' or 'overflow-y' is 'clip'? ==
According to https://drafts.csswg.org/css-overflow-3/#ref-for-propdef-overflow%E2%91%A3,

 - `visible` and `clip` prevent the box from being a scroll container.
 - `hidden`, `scroll` and `auto` force the box into being a scroll container.

`visible` is not a problem because it computes to `auto` if one of `overflow-x` or `overflow-y` is not `visible`.

However, what happens if one of `overflow-x` or `overflow-y` is `clip` and the other is `hidden`, `scroll` or `auto`?

Is the box a [scroll container](https://drafts.csswg.org/css-overflow-3/#scroll-container) or not?

Maybe a box could be a scroll container in one direction but not in the other one. Or maybe `clip` could compute to `hidden` similarly to `visible`.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1971 using your GitHub account

Received on Friday, 10 November 2017 18:33:18 UTC