OLD | NEW |
1 <!-- Based on fast/repaint/change-transform.html --> | 1 <!-- Based on fast/repaint/change-transform.html --> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="resources/paint-invalidation-test.js"></script> | 4 <script src="resources/paint-invalidation-test.js"></script> |
5 <script type="text/javascript" charset="utf-8"> | 5 <script type="text/javascript" charset="utf-8"> |
6 window.expectedPaintInvalidationObjects = [ | |
7 "LayoutBlockFlow DIV id='square'", | |
8 ]; | |
9 function paintInvalidationTest() | 6 function paintInvalidationTest() |
10 { | 7 { |
11 var target = document.getElementById("square"); | 8 var target = document.getElementById("square"); |
12 target.style.webkitTransform = "scale(0.5, 0.5)"; | 9 target.style.webkitTransform = "scale(0.5, 0.5)"; |
13 } | 10 } |
14 </script> | 11 </script> |
15 <style type="text/css" media="screen"> | 12 <style type="text/css" media="screen"> |
16 body { | 13 body { |
17 margin: 10px; | 14 margin: 10px; |
18 } | 15 } |
(...skipping 13 matching lines...) Expand all Loading... |
32 </style> | 29 </style> |
33 </head> | 30 </head> |
34 <body onload="runPaintInvalidationTest()"> | 31 <body onload="runPaintInvalidationTest()"> |
35 <div id="square"></div> | 32 <div id="square"></div> |
36 <div id="overlay"></div> | 33 <div id="overlay"></div> |
37 | 34 |
38 <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><a href="https://bugs.webkit.org/show_bug.cgi?id=19623">https://bugs.webkit.o
rg/show_bug.cgi?id=19623</a></p> |
39 <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 <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> |
40 </body> | 37 </body> |
41 </html> | 38 </html> |
OLD | NEW |