Skip to content

Commit 83012c0

Browse files
committed
[css-overflow-3] Add per-axis subtypes of scroll containers
1 parent 912cac7 commit 83012c0

1 file changed

Lines changed: 24 additions & 5 deletions

File tree

css-overflow-3/Overview.bs

Lines changed: 24 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -321,15 +321,34 @@ Scrolling Overflow</h3>
321321
-->
322322

323323
<h2 id="overflow-properties">
324-
Scrolling and Clipping Overflow</h2>
324+
Clipping and Scrolling Overflow</h2>
325+
326+
The properties in this chapter specify whether and where a box’s [=overflow=] is clipped;
327+
if so, whether it is a [=scroll container=];
328+
and if so, in which axis(es) it is allowed to scroll,
329+
thus which of the following types of [=scroll container=] it is:
330+
331+
<dl>
332+
<dt><dfn>single-axis scroll container</dfn>
333+
<dd>
334+
A [=scroll container=] that can scroll in only one axis.
335+
336+
<dt><dfn>dual-axis scroll container</dfn>
337+
<dd>
338+
A [=scroll container=] that can scroll in both axes.
339+
340+
<dt><dfn>block-axis scroll container</dfn>
341+
<dt><dfn>inline-axis scroll container</dfn>
342+
<dt><dfn>x-axis scroll container</dfn>
343+
<dt><dfn>y-axis scroll container</dfn>
344+
<dd>
345+
A [=scroll container=] that can scroll in the specified axis,
346+
regardless of whether it can also scroll in the other axis.
347+
</dl>
325348

326349
<h3 id="overflow-control">
327350
Managing Overflow: the 'overflow-x', 'overflow-y', and 'overflow' properties</h3>
328351

329-
These properties specify whether a box’s [=overflow=] is clipped,
330-
and if so,
331-
whether it is a [=scroll container=].
332-
333352
<pre class=propdef>
334353
Name: overflow-x, overflow-y, overflow-block, overflow-inline
335354
Value: visible | hidden | clip | scroll | auto

0 commit comments

Comments
 (0)