18 lines
611 B
HTML
18 lines
611 B
HTML
<!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> |