Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-overflow/overflow-body-propagation-005.html - WPT Dashboard Interop Dashboard
<!doctype html>
<title>CSS Overflow Test: overscroll-behavior doesn't stop overflow from being propagated from the body</title>
<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
<link rel="match" href="reference/overflow-body-propagation-ref.html">
<style>
:root {
overscroll-behavior-y: contain;
}
body {
overflow: scroll;
margin-top: 100px;
}
</style>
<body>The viewport should have scrollbars, not the body.</body>