[csswg-drafts] [cssom-view] "Elements and viewports have an associated scrol..."

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

== [cssom-view] "Elements and viewports have an associated scrol..." ==
https://drafts.csswg.org/cssom-view/#terminology

> Elements and viewports have an associated scrolling box if has a scrolling mechanism or it overflows its content area and the used value of the overflow\-x or overflow\-y property is hidden\. \[CSS3\-BOX\]
> 
> An element is potentially scrollable if all of the following conditions are true:​
> 
> The element has an associated CSS layout box\.
> The element is not the HTML body element, or it is and the root element’s used value of the overflow\-x or overflow\-y properties is not visible\.
> The element’s used value of the overflow\-x or overflow\-y properties is not visible\.
> Note:​ An element that is potentially scrollable might not have a scrolling box\. For instance, it could have overflow set to auto but not have its content overflowing its content area\.

The definition of scrolling box looks wrong. Certainly `scroll` and `auto` should also cause a scrolling box.

The definition of potentially scrollable also looks wrong w.r.t. `overflow: clip`.

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

Received on Tuesday, 13 June 2017 14:33:37 UTC