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="../../resources/js-test.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> |
11 </svg> | 11 </svg> |
12 | 12 |
13 <p id="description"></p> | 13 <p id="description"></p> |
14 <div id="console"></div> | 14 <div id="console"></div> |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 </body> | 131 </body> |
132 </html> | 132 </html> |
OLD | NEW |