Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<head>
<title>CSS Test: Overflow hidden on root element</title>
<meta name="assert" content="Clipping does not affect elements where their parent is the viewport." />
<style type="text/css">
div
{
border: solid;
}
html
{
height: 30px;
overflow: hidden;
}
</style>
</head>
<body>
<p>Test passes if there are the words "Filler Text" below.</p>
<div>Filler Text</div>
</body>
</html>