<!DOCTYPE html>
<html>
<head>
<title>This tests that repaint overflow part when overflow becomes clipped.</title>
<style>
div {
    background: green;
    overflow: visible;
    height: 50px;
    width: 50px;
}
</style>
</head>
<body>
PASS if no red is visible.
<div></div>
</body>
</html>