| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src="resources/text-based-repaint.js"></script> | 3 <script src="resources/text-based-repaint.js"></script> |
| 4 <script type="text/javascript" charset="utf-8"> | 4 <script type="text/javascript" charset="utf-8"> |
| 5 function repaintTest() | 5 function repaintTest() |
| 6 { | 6 { |
| 7 var target = document.getElementById("square"); | 7 var target = document.getElementById("square"); |
| 8 target.style.webkitTransform = "scale(0.5, 0.5)"; | 8 target.style.webkitTransform = "scale(0.5, 0.5)"; |
| 9 } | 9 } |
| 10 </script> | 10 </script> |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 </style> | 28 </style> |
| 29 </head> | 29 </head> |
| 30 <body onload="runRepaintAndPixelTest()"> | 30 <body onload="runRepaintAndPixelTest()"> |
| 31 <div id="square"></div> | 31 <div id="square"></div> |
| 32 <div id="overlay"></div> | 32 <div id="overlay"></div> |
| 33 | 33 |
| 34 <p><a href="https://bugs.webkit.org/show_bug.cgi?id=19623">https://bugs.webkit.o
rg/show_bug.cgi?id=19623</a></p> | 34 <p><a href="https://bugs.webkit.org/show_bug.cgi?id=19623">https://bugs.webkit.o
rg/show_bug.cgi?id=19623</a></p> |
| 35 <p>Test for incomplete repaint when a non-layer object gains a transform. You sh
ould see a green square above. If you see any red, the test has failed.</p> | 35 <p>Test for incomplete repaint when a non-layer object gains a transform. You sh
ould see a green square above. If you see any red, the test has failed.</p> |
| 36 </body> | 36 </body> |
| 37 </html> | 37 </html> |
| OLD | NEW |