blob: e09e821046ec1530fb09efff89d07917f8d86138 [file] [log] [blame]
<!DOCTYPE html>
| This test checks that a fixed position element with right and bottom set
| on it are positioned relative to the viewport's right and bottom edge.
.static-container {
width: 50px;
height: 50px;
margin-top: 10px;
margin-left: 10px;
background-color: rgb(100, 255, 100);
.fixed-element {
position: fixed;
width: 50px;
height: 50px;
bottom: 25px;
right: 25px;
background-color: rgb(100, 100, 255);
<div class="static-container"></div>
<div class="fixed-element"></div>