overflow-propagation-001b.html (663B)
1 <!doctype html> 2 <meta charset=utf-8> 3 <title>Ensure that body propagates its scrollbars</title> 4 <link rel=match href="support/overflow-propagation-001-ref.html"> 5 <link rel=help href="https://www.w3.org/TR/CSS21/visufx.html#overflow-clipping"> 6 <script> 7 onload = function() { 8 document.body.remove(); 9 var b = document.createElement("body"); 10 b.style = "overflow: hidden; margin: 100px; width: 100px; height: 100px; border: 1px solid green; position: absolute; top: 0; left: 0"; 11 b.textContent = "The body should have visible overflow of the text that totally doesn't fit in the little box."; 12 document.documentElement.appendChild(b); 13 } 14 </script>