@@ -376,23 +376,19 @@ Scrolling and Clipping Overflow: the 'overflow-x', 'overflow-y', and 'overflow'
376376 is not ''overflow/visible'' ,
377377 it creates a new <a>block formatting context</a> for its content.
378378
379- <h3 id="overflow-propagation">
380- Overflow Value Propagation</h3>
381379
382- UAs must apply the 'overflow-*' values
383- set on the root element to the <a>viewport</a> .
384- However,
385- when the root element is an [[!HTML]] <{html}> element
386- (including <a href="https://html.spec.whatwg.org/multipage/introduction.html#html-vs-xhtml">XML syntax for HTML</a> )
387- whose 'overflow' value is ''overflow/visible'' (in both axes),
388- and that element has a <{body}> element as a child,
389- user agents must instead apply the 'overflow-*' values
390- of the first such child element to the viewport.
391- The element from which the value is propagated must then have
392- a used 'overflow' value of ''overflow/visible'' .
380+ <h3 id="static-media">
381+ Overflow in Print and Other Static Media</h3>
393382
394- If ''overflow/visible'' is applied to the viewport,
395- it must be interpreted as ''overflow/auto'' .
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.
396392
397393<h3 id="scrollbar-layout">
398394Scrollbars and Layout</h3>
@@ -430,6 +426,24 @@ Scrolling Origin, Direction, and Restriction</h3>
430426
431427 The viewport uses the <a>principal writing mode</a> for these calculations.
432428
429+ <h3 id="overflow-propagation">
430+ Overflow Viewport Propagation</h3>
431+
432+ UAs must apply the 'overflow-*' values
433+ set on the root element to the <a>viewport</a> .
434+ However,
435+ when the root element is an [[!HTML]] <{html}> element
436+ (including <a href="https://html.spec.whatwg.org/multipage/introduction.html#html-vs-xhtml">XML syntax for HTML</a> )
437+ whose 'overflow' value is ''overflow/visible'' (in both axes),
438+ and that element has a <{body}> element as a child,
439+ user agents must instead apply the 'overflow-*' values
440+ of the first such child element to the viewport.
441+ The element from which the value is propagated must then have
442+ a used 'overflow' value of ''overflow/visible'' .
443+
444+ If ''overflow/visible'' is applied to the viewport,
445+ it must be interpreted as ''overflow/auto'' .
446+
433447<h2 id="max-lines">
434448Limiting Visible Lines: the 'max-lines' property</h2>
435449
@@ -509,18 +523,6 @@ Limiting Visible Lines: the 'max-lines' property</h2>
509523 do not affect the position of the forced <a>region break</a>
510524 introduced by the 'max-lines' property.
511525
512- <h2 id="static-media">
513- Overflow in static media</h2>
514-
515- <p class="issue">
516- This specification should define useful behavior
517- for all values of 'overflow'
518- in static media (such as print).
519- Current implementation behavior is quite poor and
520- produces unexpected results when authors have not considered
521- what will happen when
522- the content they produce for interactive media
523- is printed.
524526
525527
526528Privacy and Security Considerations {#priv-sec}
0 commit comments