OLD | NEW |
1 <!-- Based on fast/repaint/set-text-content-same.html --> | 1 <!-- Based on fast/repaint/set-text-content-same.html --> |
2 <!DOCTYPE html> | 2 <!DOCTYPE html> |
3 <body onload="runPaintInvalidationTest();"> | 3 <body onload="runPaintInvalidationTest();"> |
4 <pre id="target">PASS if does not repaint.</pre> | 4 <pre id="target">PASS if does not repaint.</pre> |
5 <script src="resources/paint-invalidation-test.js" type="text/javascript"></scri
pt> | 5 <script src="resources/paint-invalidation-test.js" type="text/javascript"></scri
pt> |
6 <script type="text/javascript"> | 6 <script type="text/javascript"> |
7 if (window.testRunner) | 7 if (window.testRunner) |
8 testRunner.dumpAsText(); | 8 testRunner.dumpAsText(); |
9 window.expectedPaintInvalidationObjects = [ | |
10 ]; | |
11 function paintInvalidationTest() | 9 function paintInvalidationTest() |
12 { | 10 { |
13 target.textContent = "PASS if does not repaint."; | 11 target.textContent = "PASS if does not repaint."; |
14 } | 12 } |
15 </script> | 13 </script> |
OLD | NEW |