blob: 39cc6d220c1cf57c7f7c064d0e618b84cd34dee1 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
<head>
<title></title>
<script src="resources/repaint.js"></script>
<script>
function repaintTest()
{
document.body.style.backgroundImage='url(resources/apple.jpg)';
if (window.layoutTestController)
layoutTestController.display();
}
</script>
<style>
HTML { background: white; }
BODY { background: white no-repeat top center; }
HTML, BODY { padding-top: 232px; }
</style>
</head>
<body onload="runRepaintTest()">
<p>
Repaint test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=15157">http://bugs.webkit.org/show_bug.cgi?id=15157</a>
Image defined in background-position: top center gets unexpectedly truncated</i>.
</p>
</body>
</html>