overflow-propagation-001c.html (794B)
1 <!doctype html> 2 <meta charset=utf-8> 3 <title>Ensure that body propagates its scrollbars even if there is a preceding frameset</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 f = document.createElement("frameset"); 10 document.documentElement.appendChild(f); 11 var b = document.createElement("body"); 12 b.style = "overflow: hidden; margin: 100px; width: 100px; height: 100px; border: 1px solid green; position: absolute; top: 0; left: 0"; 13 b.textContent = "The body should have visible overflow of the text that totally doesn't fit in the little box."; 14 document.documentElement.appendChild(b); 15 } 16 </script>