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 50 100 900 1000" y="50">ABC</text> | 8 <text id="text1" x="500 50 100 900 1000" y="50">ABC</text> |
9 <text id="text2" x="50 100 1000" y="100">ABC</text> | 9 <text id="text2" x="50 100 1000" y="100">ABC</text> |
10 <text id="reference" x="50 100 150" y="150">ABC</text> | 10 <text id="reference" x="50 100 150" y="150">ABC</text> |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 shouldBe("text2.x.baseVal.getItem(4).value", "900"); | 121 shouldBe("text2.x.baseVal.getItem(4).value", "900"); |
122 shouldBe("text2.x.baseVal.getItem(5).value", "1000"); | 122 shouldBe("text2.x.baseVal.getItem(5).value", "1000"); |
123 shouldThrow("text2.x.baseVal.getItem(6)"); | 123 shouldThrow("text2.x.baseVal.getItem(6)"); |
124 | 124 |
125 debug(""); | 125 debug(""); |
126 debug("The test passes if you only see 'PASS' messages, and all three text e
lements on top look the same"); | 126 debug("The test passes if you only see 'PASS' messages, and all three text e
lements on top look the same"); |
127 debug(""); | 127 debug(""); |
128 | 128 |
129 ]]> | 129 ]]> |
130 </script> | 130 </script> |
131 <script src="../../fast/js/resources/js-test-post.js"></script> | |
132 </body> | 131 </body> |
133 </html> | 132 </html> |
OLD | NEW |