chromium/third_party/blink/web_tests/fast/body-propagation/overflow/007.html

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <title>overflow on body should not propagate to the viewport when not child of root</title>
  <style>
   html { overflow:hidden; }
   body { overflow:scroll; width:10em; height:10em; border:thin solid; display:block; color:navy; }
   .filler { color:gray; }
  </style>
  <script>
   window.onload = function() {
     var newElm = document.createElement("bogus"); // namespace doesn't matter in this case
     newElm.appendChild(document.getElementsByTagName("body")[0]);
     document.documentElement.appendChild(newElm);
     document.getElementsByTagName("p")[0].firstChild.data = "There should be scrollbars for this box -- not for the viewport.";
   }
  </script>
 </head>
 <body>
  <p>FAIL (script didn't run)</p>
  <p class="filler">This is filler text.</p>
  <p class="filler">This is filler text.</p>
  <p class="filler">This is filler text.</p>
  <p class="filler">This is filler text.</p>
 </body>
</html>