Skip to content

[cssom-view] "Elements and viewports have an associated scrol..." #1526

@zcorpan

Description

@zcorpan

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions