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 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 150" y="100"> ABC </text> | 9 <text id="reference" x="50 100 150" y="100"> ABC </text> |
10 </svg> | 10 </svg> |
11 | 11 |
12 <p id="description"></p> | 12 <p id="description"></p> |
13 <div id="console"></div> | 13 <div id="console"></div> |
14 <script type="text/javascript"> | 14 <script type="text/javascript"> |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 shouldThrow("text1.x.baseVal.getItem(6)"); | 123 shouldThrow("text1.x.baseVal.getItem(6)"); |
124 | 124 |
125 debug(""); | 125 debug(""); |
126 debug("The test passes if you only see 'PASS' messages, and both text elemen
ts on top look the same"); | 126 debug("The test passes if you only see 'PASS' messages, and both text elemen
ts 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 |