| 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>window.enablePixelTesting = true;</script> | 3 <script>window.enablePixelTesting = true;</script> |
| 4 <script src="../../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../../fast/js/resources/js-test-pre.js"></script> |
| 5 </head> | 5 </head> |
| 6 <body> | 6 <body> |
| 7 <svg id="svg" xmlns="http://www.w3.org/2000/svg" width="200" height="200"> | 7 <svg id="svg" xmlns="http://www.w3.org/2000/svg" width="200" height="200"> |
| 8 <text id="text1" x="500 1000 1500" y="50"> ABC </text> | 8 <text id="text1" x="500 1000 1500" y="50"> ABC </text> |
| 9 <text id="reference" x="50 100" y="100"> ABC </text> | 9 <text id="reference" x="50 100" y="100"> ABC </text> |
| 10 </svg> | 10 </svg> |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 shouldBe("text1.x.baseVal.numberOfItems", "2"); | 70 shouldBe("text1.x.baseVal.numberOfItems", "2"); |
| 71 shouldBe("text1.x.baseVal.getItem(0).value", "50"); | 71 shouldBe("text1.x.baseVal.getItem(0).value", "50"); |
| 72 shouldBe("text1.x.baseVal.getItem(1).value", "100"); | 72 shouldBe("text1.x.baseVal.getItem(1).value", "100"); |
| 73 | 73 |
| 74 debug(""); | 74 debug(""); |
| 75 debug("The test passes if you only see 'PASS' messages, and both elements on
top look the same"); | 75 debug("The test passes if you only see 'PASS' messages, and both elements on
top look the same"); |
| 76 debug(""); | 76 debug(""); |
| 77 | 77 |
| 78 ]]> | 78 ]]> |
| 79 </script> | 79 </script> |
| 80 <script src="../../fast/js/resources/js-test-post.js"></script> | |
| 81 </body> | 80 </body> |
| 82 </html> | 81 </html> |
| OLD | NEW |