blob: df090ff8ed1baaeb39643f7ff69e96d752a72aeb [file] [log] [blame]
<!-- Based on fast/repaint/outline-child-repaint.html -->
<html>
<head>
<script src="resources/paint-invalidation-test.js" type="text/javascript"></script>
<script type="text/javascript">
function paintInvalidationTest()
{
var container = document.getElementById('container');
container.style.top = "250px";
}
</script>
<style type="text/css" media="screen">
#container {
position: absolute;
left: 10px;
top: 150px;
width: 200px;
height: 50px;
}
.outlined {
outline: 10px solid green;
height: 30px;
background-color: #DDD;
}
#underlay {
position: absolute;
top: 240px;
left: 0px;
width: 200px;
height: 30px;
border: 10px solid red;
}
</style>
</head>
<body onload="runPaintInvalidationTest();">
<p>
This is a repaint test for <i><a href="https://bugs.webkit.org/show_bug.cgi?id=22159">https://bugs.webkit.org/show_bug.cgi?id=22159</a>
Repaint issue with outlines in child objects</i>.
</p>
<p>If the test passes, you should not see any red below</p>
<hr>
<div id="underlay">
</div>
<div id="container">
<div class="outlined">
</div>
</div>
</body>
</html>