blob: bf83697838192e32b45956e1006b29b719648758 [file] [log] [blame]
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>overflow on non-HTML body not should propagate to the viewport</title>
<style>
html { overflow:visible; }
body { display:block; overflow:scroll; width:10em; height:10em; border:thin solid; color:navy; }
.filler { color:gray; }
</style>
</head>
<body xmlns="urn:foo:bogus">
<p xmlns="http://www.w3.org/1999/xhtml">There should be scrollbars for this box -- not for the viewport.</p>
<p xmlns="http://www.w3.org/1999/xhtml" class="filler">This is filler text.</p>
<p xmlns="http://www.w3.org/1999/xhtml" class="filler">This is filler text.</p>
<p xmlns="http://www.w3.org/1999/xhtml" class="filler">This is filler text.</p>
<p xmlns="http://www.w3.org/1999/xhtml" class="filler">This is filler text.</p>
</body>
</html>