| OLD | NEW |
| 1 <html xmlns="http://www.w3.org/1999/xhtml"> | 1 <html xmlns="http://www.w3.org/1999/xhtml"> |
| 2 <head> | 2 <head> |
| 3 <script src="../../fast/repaint/resources/repaint.js"></script> | 3 <script src="../../fast/repaint/resources/text-based-repaint.js"></script> |
| 4 <script type="text/javascript"> | 4 <script type="text/javascript"> |
| 5 function repaintTest() { | 5 function repaintTest() { |
| 6 if (window.testRunner) | 6 if (window.testRunner) |
| 7 testRunner.waitUntilDone(); | 7 testRunner.waitUntilDone(); |
| 8 var object1 = document.getElementsByTagName("object")[0]; | 8 var object1 = document.getElementsByTagName("object")[0]; |
| 9 object1.setAttribute("data", "resources/nested-embedded-svg-size-changes-tar
get-no-layout-triggers-2.html"); | 9 object1.setAttribute("data", "resources/nested-embedded-svg-size-changes-tar
get-no-layout-triggers-2.html"); |
| 10 object1.setAttribute("style", "border: 1px red solid; width: 400px; height:
200px"); | 10 object1.setAttribute("style", "border: 1px red solid; width: 400px; height:
200px"); |
| 11 } | 11 } |
| 12 </script> | 12 </script> |
| 13 </head> | 13 </head> |
| 14 <body onload="runRepaintTest()" style="margin: 0px"> | 14 <body onload="runRepaintAndPixelTest()" style="margin: 0px"> |
| 15 | 15 |
| 16 <!-- This test is the same as nested-embedded-svg-size-changes.html but doesn't
do any query of the computed style to avoid triggering any layouts --> | 16 <!-- This test is the same as nested-embedded-svg-size-changes.html but doesn't
do any query of the computed style to avoid triggering any layouts --> |
| 17 <object></object> | 17 <object></object> |
| 18 | 18 |
| 19 </body> | 19 </body> |
| 20 </html> | 20 </html> |
| OLD | NEW |