blob: 4cdd40618d2720f50cedda399a4db410f8fd0677 [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 root has overflow</title>
<style>
html { overflow:hidden; }
body { overflow:scroll; width:10em; height:10em; border:thin solid; color:navy; }
.filler { color:gray; }
</style>
</head>
<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>
</html>