blob: 4c7757e0adb647ec5239f5ed98e56db154e51c7b [file] [log] [blame]
<!-- Based on fast/repaint/clip-path-constant-repaint.html -->
<!DOCTYPE html>
<html>
<head>
<script src="resources/paint-invalidation-test.js"></script>
<script type="text/javascript">
window.onload = function() {
runPaintInvalidationTest();
};
window.expectedPaintInvalidationObjects = [
];
function paintInvalidationTest() {
document.getElementById('clip').style.transform = 'translateY(100px)';
}
</script>
<style>
#clip {
width: 100%;
height: 300px;
position: fixed;
background-color: rgba(255, 0, 0, 0.9);
-webkit-clip-path: polygon(0px 0px, 100% 0px, 100% 100%, 0px 83%);
-webkit-backface-visibility: hidden;
}
</style>
</head>
<body>
<div id="clip"></div>
</body>
</html>