OLD | NEW |
| (Empty) |
1 <!-- Based on fast/repaint/change-transform.html --> | |
2 <html> | |
3 <head> | |
4 <script src="resources/paint-invalidation-test.js"></script> | |
5 <script type="text/javascript" charset="utf-8"> | |
6 function paintInvalidationTest() | |
7 { | |
8 var target = document.getElementById("square"); | |
9 target.style.webkitTransform = "scale(0.5, 0.5)"; | |
10 } | |
11 </script> | |
12 <style type="text/css" media="screen"> | |
13 body { | |
14 margin: 10px; | |
15 } | |
16 #square { | |
17 width: 100px; | |
18 height: 100px; | |
19 background: red; | |
20 } | |
21 #overlay { | |
22 position: absolute; | |
23 left: 35px; | |
24 top: 35px; | |
25 width: 50px; | |
26 height: 50px; | |
27 background: green | |
28 } | |
29 </style> | |
30 </head> | |
31 <body onload="runPaintInvalidationTest()"> | |
32 <div id="square"></div> | |
33 <div id="overlay"></div> | |
34 | |
35 <p><a href="https://bugs.webkit.org/show_bug.cgi?id=19623">https://bugs.webkit.o
rg/show_bug.cgi?id=19623</a></p> | |
36 <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> | |
37 </body> | |
38 </html> | |
OLD | NEW |