Automatic update from web-platform-tests WebKit export of https://bugs.webkit.org/show_bug.cgi?id=314885 (#60079) -- wpt-commits: 09d73acd5c7aac5142962f73c87f6408db92d235 wpt-pr: 60079
27 lines
436 B
HTML
27 lines
436 B
HTML
<!DOCTYPE html>
|
|
<meta charset="utf-8">
|
|
<title>Reference: no red rectangle visible</title>
|
|
<style>
|
|
html, body {
|
|
margin: 0;
|
|
}
|
|
.outer {
|
|
position: absolute;
|
|
}
|
|
.inner {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 200px;
|
|
background: red;
|
|
}
|
|
img {
|
|
display: block;
|
|
height: 100%;
|
|
}
|
|
</style>
|
|
<p>Test passes if there is no red rectangle visible.</p>
|
|
<div class="outer">
|
|
<div class="inner"><img></div>
|
|
</div>
|