Skip to content

Commit d201052

Browse files
committed
[css-overflow-3] Improve handling of print.
1 parent c3fcc80 commit d201052

File tree

1 file changed

+21
-11
lines changed

1 file changed

+21
-11
lines changed

css-overflow-3/Overview.bs

+21-11
Original file line numberDiff line numberDiff line change
@@ -359,8 +359,9 @@ Scrolling and Clipping Overflow: the 'overflow-x', 'overflow-y', and 'overflow'
359359
whether or not any of its content is clipped.
360360
This avoids any problem with scrollbars appearing
361361
and disappearing in a dynamic environment.
362-
When this value is specified and the target medium is ''print'',
363-
overflowing content may be printed.
362+
When the target medium is ''print'',
363+
overflowing content may be printed;
364+
it is not defined where it may be printed.
364365

365366
<dt><dfn>auto</dfn>
366367
<dd>
@@ -380,15 +381,24 @@ Scrolling and Clipping Overflow: the 'overflow-x', 'overflow-y', and 'overflow'
380381
<h3 id="static-media">
381382
Overflow in Print and Other Static Media</h3>
382383

383-
<p class="issue">
384-
This specification should define useful behavior
385-
for all values of 'overflow'
386-
in static media (such as print).
387-
Current implementation behavior is quite poor and
388-
produces unexpected results when authors have not considered
389-
what will happen when
390-
the content they produce for interactive media
391-
is printed.
384+
<p class="advisement">
385+
Since scrolling is not possible in static media
386+
(such as print)
387+
authors should be careful to make content accessible in such media,
388+
for example by using ''@media print, (update: none) { &hellip; }''
389+
to adjust layout such that all relevant content
390+
is simultaneously visible.
391+
392+
On <a>scroll containers</a> in <a>static media</a>
393+
with an 'overflow' value of ''overflow/auto'' or ''overflow/scroll''
394+
(but not ''overflow/hidden'')
395+
UAs may display an indication of any scrollable overflow,
396+
such as by displaying scrollbars
397+
or an ellipsis.
398+
399+
Note: Not all <a>paged media</a> is <a lt="static media">static</a>;
400+
for example, e-book readers page content,
401+
but are <a lt="interactive media">interactive</a>.
392402

393403
<h3 id="scrollbar-layout">
394404
Scrollbars and Layout</h3>

0 commit comments

Comments
 (0)