<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<title>overflow on body should propagate to the viewport</title> | |
<style> | |
html { overflow:visible; } | |
body { overflow:scroll; width:10em; height:10em; border:thin solid; color:navy; } | |
.filler { color:gray; } | |
</style> | |
</head> | |
<body> | |
<p>There should be scrollbars for the viewport -- not for this box.</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> |