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="text2" x="500 100 50 150" y="75"> ABC </text> | 9 <text id="text2" x="500 100 50 150" y="75"> ABC </text> |
10 <text id="text3" x="50 50 100 100 150" y="100"> ABC</text> | 10 <text id="text3" x="50 50 100 100 150" y="100"> ABC</text> |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 shouldBe("text4.x.baseVal.getItem(2).value", "150"); | 157 shouldBe("text4.x.baseVal.getItem(2).value", "150"); |
158 shouldBe("text4.x.baseVal.getItem(3).value", "150"); | 158 shouldBe("text4.x.baseVal.getItem(3).value", "150"); |
159 shouldThrow("text4.x.baseVal.getItem(4)"); | 159 shouldThrow("text4.x.baseVal.getItem(4)"); |
160 | 160 |
161 debug(""); | 161 debug(""); |
162 debug("The test passes if you only see 'PASS' messages, and all five text el
ements on top look the same"); | 162 debug("The test passes if you only see 'PASS' messages, and all five text el
ements on top look the same"); |
163 debug(""); | 163 debug(""); |
164 | 164 |
165 ]]> | 165 ]]> |
166 </script> | 166 </script> |
167 <script src="../../fast/js/resources/js-test-post.js"></script> | |
168 </body> | 167 </body> |
169 </html> | 168 </html> |
OLD | NEW |