blob: 49856873cfdff5f43b330f8047ad5d65cbd37cf0 [file] [log] [blame]
<!DOCTYPE html>
<!--
| Absolutely positioned elements should be positionable by specifying right
| 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;
right: 50%;
background-color: rgb(100, 100, 255);
}
</style>
</head>
<body>
<div class="container">
<div class="block">
</div>
</div>
</body>
</html>