| OLD | NEW |
| 1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
| 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" |
| 3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | 3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
| 4 <html xmlns="http://www.w3.org/1999/xhtml"> | 4 <html xmlns="http://www.w3.org/1999/xhtml"> |
| 5 <head> | 5 <head> |
| 6 <script src="../../fast/repaint/resources/text-based-repaint.js"></script> | 6 <script src="../../fast/repaint/resources/text-based-repaint.js"></script> |
| 7 <title>The rectangle should be green.</title></head> | 7 <title>The rectangle should be green.</title></head> |
| 8 <script> | 8 <script> |
| 9 | 9 |
| 10 var W = 200; | 10 var W = 200; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 | 48 |
| 49 function repaintTest() { | 49 function repaintTest() { |
| 50 if(window.testRunner) | 50 if(window.testRunner) |
| 51 testRunner.waitUntilDone(); | 51 testRunner.waitUntilDone(); |
| 52 | 52 |
| 53 updateFill(); | 53 updateFill(); |
| 54 setTimeout("updateFill()", 0); | 54 setTimeout("updateFill()", 0); |
| 55 } | 55 } |
| 56 </script> | 56 </script> |
| 57 <body onload="runRepaintAndPixelTest()"> | 57 <body onload="runRepaintAndPixelTest()"> |
| 58 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin
k" style="position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px"> | 58 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin
k" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%"> |
| 59 <defs id="defs"></defs> | 59 <defs id="defs"></defs> |
| 60 <rect id="shape" width="200" height="200"></rect> | 60 <rect id="shape" width="200" height="200"></rect> |
| 61 </svg> | 61 </svg> |
| 62 </body> | 62 </body> |
| 63 </html> | 63 </html> |
| OLD | NEW |