Skip to content

Commit 82ad89f

Browse files
committed
[cssom-view] Editorial: potentially scrollable is just for body elements
1 parent 2962f44 commit 82ad89f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

cssom-view/Overview.bs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -128,15 +128,15 @@ HTML.
128128
Elements and <a>viewports</a> have an associated <dfn>scrolling box</dfn> if has a scrolling mechanism<!--XXX xref--> or it overflows
129129
its content area<!--XXX xref--> and the used value of the 'overflow-x' or 'overflow-y' property is ''overflow/hidden''. [[!CSS3-BOX]]
130130

131-
An element is <dfn>potentially scrollable</dfn> if all of the following conditions are true:
131+
An element <var>body</var> (which will be <a>the HTML <code>body</code> element</a>) is
132+
<dfn>potentially scrollable</dfn> if all of the following conditions are true:
132133

133-
* The element has an associated <a>CSS layout box</a>.
134-
* The element is not <a>the HTML <code>body</code> element</a>, or it is and
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''.
134+
* <var>body</var> has an associated <a>CSS layout box</a>.
135+
* <var>body</var>'s <a>parent element</a>'s computed value of the 'overflow-x' or 'overflow-y' properties is not ''overflow/visible''.
136+
* <var>body</var>'s computed value of the 'overflow-x' or 'overflow-y' properties is not ''overflow/visible''.
137137

138-
Note: An element that is <a>potentially scrollable</a> might not have a <a>scrolling box</a>.
139-
For instance, it could have 'overflow' set to ''overflow/auto'' but not have its content overflowing its content area.
138+
Note: A <{body}> element that is <a>potentially scrollable</a> might not have a <a>scrolling box</a>.
139+
For instance, it could have a used value of 'overflow' being ''overflow/auto'' but not have its content overflowing its content area.
140140

141141
A <a>scrolling box</a> of a <a>viewport</a> or element has two <dfn>overflow directions</dfn>, depending on the <a>viewport’s</a> or
142142
element's <a>block flow direction</a> and <a>inline base direction</a>, as follows:

0 commit comments

Comments
 (0)