Automatic update from web-platform-tests WebKit export of https://bugs.webkit.org/show_bug.cgi?id=278381 (#60305) -- wpt-commits: 1062d9c4af1ff6b2d4e4134d436c1c42cf74098c wpt-pr: 60305
29 lines
596 B
HTML
29 lines
596 B
HTML
<!DOCTYPE html>
|
|
<meta charset="utf-8">
|
|
<title>CSS Reference</title>
|
|
<style>
|
|
.parent {
|
|
width: 100px;
|
|
height: 200px;
|
|
background: green;
|
|
position: relative;
|
|
}
|
|
.marker {
|
|
position: absolute;
|
|
top: 130px;
|
|
left: 0;
|
|
right: 0;
|
|
outline: 3px solid orange;
|
|
}
|
|
.footer {
|
|
width: 100px;
|
|
height: 50px;
|
|
background: green;
|
|
}
|
|
</style>
|
|
<p>Test passes if there is a green rectangle with an orange line inside it at 130px from the top, and no gap before the second green rectangle.</p>
|
|
<div class="parent">
|
|
<div class="marker"></div>
|
|
</div>
|
|
<div class="footer"></div>
|