Skip to content

Commit 9043114

Browse files
committed
[css-overflow] Define scrollport as a term.
1 parent 0a42404 commit 9043114

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

css-overflow-3/Overview.bs

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -287,9 +287,13 @@ Scrollable Overflow: the 'overflow-x', 'overflow-y', and 'overflow' properties</
287287
(including any <a>ink overflow</a>)
288288
is clipped to its padding edge,
289289
and if so,
290-
whether it is a <dfn export>scrollable box</dfn>
290+
whether it is a <dfn export>scroll container</dfn>
291291
that allows the user to scroll clipped parts of its <a>scrollable overflow region</a>
292292
into view.
293+
The visual viewport of the <a>scroll container</a>
294+
(through which the <a>scrollable overflow region</a> can be viewed)
295+
coincides with its padding box,
296+
and is called the <dfn export>scrollport</dfn>.
293297

294298
<pre class=propdef>
295299
Name: overflow-x, overflow-y
@@ -334,7 +338,7 @@ Scrollable Overflow: the 'overflow-x', 'overflow-y', and 'overflow' properties</
334338
<dd>
335339
There is no special handling of overflow, that is, it
336340
may be rendered outside the box.
337-
The box is not a <a>scrollable box</a>.
341+
The box is not a <a>scroll container</a>.
338342

339343
<dt><dfn>hidden</dfn>
340344
<dd>
@@ -344,7 +348,7 @@ Scrollable Overflow: the 'overflow-x', 'overflow-y', and 'overflow' properties</
344348
to view the content outside the clipping region.
345349
However, the content may still be scrolled programatically,
346350
for example using the mechanisms defined in [[CSSOM-VIEW]],
347-
and the box is therefore still a <a>scrollable box</a>.
351+
and the box is therefore still a <a>scroll container</a>.
348352

349353
<dt><dfn>clip</dfn>
350354
<dd>
@@ -357,7 +361,7 @@ Scrollable Overflow: the 'overflow-x', 'overflow-y', and 'overflow' properties</
357361
which still allows programmatic scrolling,
358362
''overflow: clip'' forbids scrolling entirely,
359363
through any mechanism,
360-
and therefore the box is not a <a>scrollable box</a>.
364+
and therefore the box is not a <a>scroll container</a>.
361365

362366
Issue: Mozilla implements -moz-hidden-unscrollable,
363367
which is similar to ''clip'',
@@ -369,7 +373,7 @@ Scrollable Overflow: the 'overflow-x', 'overflow-y', and 'overflow' properties</
369373
This value indicates that
370374
the content is clipped to the padding box,
371375
but can be scrolled into view
372-
(and therefore the box is a <a>scrollable box</a>).
376+
(and therefore the box is a <a>scroll container</a>).
373377
Furthermore, if the user agent uses a scrolling mechanism
374378
that is visible on the screen (such as a scroll bar or a panner),
375379
that mechanism should be displayed
@@ -384,7 +388,7 @@ Scrollable Overflow: the 'overflow-x', 'overflow-y', and 'overflow' properties</
384388
This value indicates that
385389
the box’s content is clipped to the padding box,
386390
but can be scrolled into view
387-
(and therefore the box is a <a>scrollable box</a>).
391+
(and therefore the box is a <a>scroll container</a>).
388392
However, if the user agent uses a scrolling mechanism
389393
that is visible on the screen (such as a scroll bar or a panner),
390394
that mechanism should only be displayed
@@ -465,7 +469,7 @@ Scrolling Origin, Direction, and Restriction</h3>
465469
Due to Web-compatibility constraints
466470
(caused by authors exploiting legacy bugs to surreptitiously hide content from visual readers but not search engines and/or speech output),
467471
UAs must clip the <a>scrollable overflow region</a>
468-
of <a>scrollable boxes</a>
472+
of <a>scroll containers</a>
469473
on the <a>block-start</a> and </a>inline-start</a> sides of the box
470474
(thereby behaving as if they had no <a>scrollable overflow</a> on that side).
471475

0 commit comments

Comments
 (0)