blob: 9debd8a2254b2b083295eb0fe3f000d1a0f00b5f [file] [log] [blame]
<!DOCTYPE html>
<!--
| Absolutely positioned elements should be positionable by specifying top
| as a percentage.
-->
<html>
<head>
<style>
.container {
position: absolute;
width: 300px;
height: 300px;
background-color: rgb(255, 100, 100);
}
.block {
position: absolute;
width: 50px;
height: 50px;
top: 50%;
background-color: rgb(100, 100, 255);
}
</style>
</head>
<body>
<div class="container">
<div class="block"></div>
</div>
</body>
</html>