| 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/text-based-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 window.testIsAsync = true; // The sub-document will call finishRepaintTest() of
this window. | |
| 6 function repaintTest() { | 5 function repaintTest() { |
| 7 var object1 = document.getElementsByTagName("object")[0]; | 6 document.getElementsByTagName("object")[0].setAttribute("style", "border: 1p
x red solid"); |
| 8 object1.setAttribute("data", "resources/embedded-svg-size-changes-no-layout-
triggers.svg"); | |
| 9 object1.setAttribute("style", "border: 1px red solid"); | |
| 10 } | 7 } |
| 11 </script> | 8 </script> |
| 12 </head> | 9 </head> |
| 13 <body onload="runRepaintAndPixelTest()" style="margin: 0px"> | 10 <body onload="runRepaintAndPixelTest()" style="margin: 0px"> |
| 14 | 11 |
| 15 <!-- 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 --> | 12 <!-- 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 <object></object> | 13 <object data="resources/embedded-svg-size-changes-no-layout-triggers.svg"></obje
ct> |
| 17 </body> | 14 </body> |
| 18 </html> | 15 </html> |
| OLD | NEW |