blob: 2a9d3fd9d4d8febc2c068a60618b661a1a2f7da6 [file] [log] [blame]
<!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>
</head>
<bogus><body>
<p>There should be scrollbars for this box -- not for the viewport.</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></bogus></html>