1 <!-- Based on fast/repaint/clip-path-constant-repaint.html -->
5 <script src=
"resources/paint-invalidation-test.js"></script>
6 <script type=
"text/javascript">
7 window
.onload = function() {
8 runPaintInvalidationTest();
11 window
.expectedPaintInvalidationObjects
= [
13 function paintInvalidationTest() {
14 document
.getElementById('clip').style
.transform
= 'translateY(100px)';
22 background-color: rgba(
255,
0,
0,
0.9);
23 -webkit-clip-path: polygon(
0px
0px,
100%
0px,
100%
100%,
0px
83%);
24 -webkit-backface-visibility: hidden;