blob: ac21f7892e4303f1e8b82e7d83ee1d18e096252f [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script src="../resources/text-based-repaint.js"></script>
<script>
function repaintTest()
{
var things = document.getElementsByClassName("before");
while (things.length)
things[0].classList.remove("before");
}
</script>
<style>
img {
margin: 50px;
}
body {
margin: 0px;
}
.before {
background-color: green;
}
</style>
</head>
<body onload="runRepaintAndPixelTest()">
<img class="before" src="../../../images/resources/59.jpg">
<p> When painting an inline image, do not paint below its baseline unless its selected.
The invalidation rect should not extend outside the content rect of the image. </p>
</body>
</html>