blob: 8363b948e21b671365da9f3a2cd1c714d6d49f92 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Test Reference Result: Inheriting 'top' changes from abspos grandparent</title>
<style type="text/css">
.testDiv { position: relative; width: 100px; height: 100px; }
#green { top: 100px; background: green; }
body > p { position: absolute; font-size: medium; }
body { font-size: 0; line-height: 0; position: relative; }
</style>
</head>
<body>
<p>There should be no red.</p>
<div id="green" class="testDiv"></div>
</body>
</html>