blob: f006eac9473d6e77f160c51177178193c9fd068f [file] [log] [blame]
<!DOCTYPE html>
<style>
div {
position: absolute;
top: 50px;
left: 0px;
width: 100px;
height: 200px;
}
img {
position: absolute;
width: 100%;
height: 100%;
}
</style>
The percent-sized image should be fully repainted on container's resize. Passes if there is a whole apple after resize.
<div>
<img src="../resources/apple.jpg">
</div>