overflow-body-propagation-005.html (695B)
1 <!doctype html> 2 <title>CSS Overflow Test: overscroll-behavior doesn't stop overflow from being propagated from the body</title> 3 <link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io"> 4 <link rel="author" title="Mozilla" href="https://mozilla.org"> 5 <link rel="help" href="https://drafts.csswg.org/css-overflow/#overflow-propagation"> 6 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1586600"> 7 <link rel="match" href="reference/overflow-body-propagation-ref.html"> 8 <style> 9 :root { 10 overscroll-behavior-y: contain; 11 } 12 body { 13 overflow: scroll; 14 margin-top: 100px; 15 } 16 </style> 17 <body>The viewport should have scrollbars, not the body.</body>