Files
rust_browser/tests/goldens/fixtures/052-position-relative.html
Zachary D. Rowitsch 2bf8ce6de8 Phase 3: Initial commit
2026-01-31 16:20:53 -05:00

30 lines
504 B
HTML

<!DOCTYPE html>
<html>
<head>
<style>
.container {
width: 200px;
background-color: lightgray;
}
.relative-box {
position: relative;
width: 100px;
height: 50px;
background-color: blue;
}
.sibling {
width: 100px;
height: 30px;
background-color: green;
}
</style>
</head>
<body>
<div class="container">
<div class="sibling">Before</div>
<div class="relative-box">Relative</div>
<div class="sibling">After (should be at normal position)</div>
</div>
</body>
</html>