blob: 49dcf04822726dda5c07cd16bb2c6fbb4dc2919c [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
a {
position: absolute;
display: block;
outline: thin dotted green;
outline-width: 0px;
}
a.updated {
outline-width: 5px;
clip: rect(0px, 100px, 100px, 0px);
}
</style>
<script src="../resources/text-based-repaint.js"></script>
<script>
function repaintTest()
{
document.getElementById("link").classList.add("updated");
}
window.addEventListener("load", runRepaintAndPixelTest, false);
</script>
</head>
<body>
<p>This test checks that an outline change is correctly repainted.</p>
<p>There should be a 5px green outline below.</p>
<ul>
<li><a id="link">Lorem Ipsum</a></li>
</ul>
</body>
</html>