OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
| 4 <script src="../../resources/ahem.js"></script> |
4 <script src="resources/text-based-repaint.js" type="text/javascript"></scrip
t> | 5 <script src="resources/text-based-repaint.js" type="text/javascript"></scrip
t> |
5 <script> | 6 <script> |
6 if (window.testRunner) | 7 if (window.testRunner) |
7 testRunner.dumpAsTextWithPixelResults(); | 8 testRunner.dumpAsTextWithPixelResults(); |
8 | 9 |
9 function repaintTest() | 10 function repaintTest() |
10 { | 11 { |
11 document.getElementsByTagName('textarea')[0].disabled = true; | 12 document.getElementsByTagName('textarea')[0].disabled = true; |
12 } | 13 } |
13 </script> | 14 </script> |
14 </head> | 15 </head> |
15 <body onload="runRepaintAndPixelTest()"> | 16 <body onload="runRepaintAndPixelTest()"> |
16 <form> | 17 <form> |
17 <textarea style="font: 10px Ahem; width: 100px; height: 100px;"></textarea> | 18 <textarea style="font: 10px Ahem; width: 100px; height: 100px;"></textarea> |
18 </form> | 19 </form> |
19 </body> | 20 </body> |
20 </html> | 21 </html> |
OLD | NEW |