<!DOCTYPE html>
<html>
<head>
<style>
html, body, div { position: inherit; left: 0; right: 0; }
#container { overflow: hidden; }
#box {
background-color: #8fa;
width: 100px;
height: 100px;
}
</style>
</head>
<body>
This test verifies that the root element has static position if it is set to
position: inherit. It passes if the green box is visible.<br><br>
<div id="container"><div id="box"></div></div>
</body>
</html>