51 lines
1.2 KiB
HTML
51 lines
1.2 KiB
HTML
<html>
|
|
<head>
|
|
<script src="resources/repaint.js" type="text/javascript"></script>
|
|
<script type="text/javascript">
|
|
function repaintTest()
|
|
{
|
|
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="runRepaintTest();">
|
|
<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>
|