Skip to content

Commit 2962f44

Browse files
committed
[cssom-view] Check computed value for overflow-x/y in potentially scrollable
Fixes #1538.
1 parent 0a7ab91 commit 2962f44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cssom-view/Overview.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ An element is <dfn>potentially scrollable</dfn> if all of the following conditio
132132

133133
* The element has an associated <a>CSS layout box</a>.
134134
* The element is not <a>the HTML <code>body</code> element</a>, or it is and
135-
the root element's used value of the 'overflow-x' or 'overflow-y' properties is not ''overflow/visible''.
136-
* The element's used value of the 'overflow-x' or 'overflow-y' properties is not ''overflow/visible''.
135+
the root element's computed value of the 'overflow-x' or 'overflow-y' properties is not ''overflow/visible''.
136+
* The element's computed value of the 'overflow-x' or 'overflow-y' properties is not ''overflow/visible''.
137137

138138
Note: An element that is <a>potentially scrollable</a> might not have a <a>scrolling box</a>.
139139
For instance, it could have 'overflow' set to ''overflow/auto'' but not have its content overflowing its content area.

0 commit comments

Comments
 (0)