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/embedded-svg-size-changes-no-layout-
triggers.svg"); | 9 object1.setAttribute("data", "resources/embedded-svg-size-changes-no-layout-
triggers.svg"); |
10 object1.setAttribute("style", "border: 1px red solid"); | 10 object1.setAttribute("style", "border: 1px red solid"); |
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 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 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 </body> | 18 </body> |
19 </html> | 19 </html> |
OLD | NEW |