OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <link rel="help" href="http://www.w3.org/TR/SVG2/text.html#InterfaceSVGTextConte
ntElement"> | 4 <link rel="help" href="http://www.w3.org/TR/SVG2/text.html#InterfaceSVGTextConte
ntElement"> |
5 <script src="../../fast/js/resources/js-test-pre.js"></script> | 5 <script src="../../fast/js/resources/js-test-pre.js"></script> |
6 </head> | 6 </head> |
7 <body> | 7 <body> |
8 <script> | 8 <script> |
9 description("Check that SVGTextContentElement methods' parameters are correctly
validated"); | 9 description("Check that SVGTextContentElement methods' parameters are correctly
validated"); |
10 | 10 |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 // If nchars specifies more characters than are available, then the substring wi
ll consist of all characters | 80 // If nchars specifies more characters than are available, then the substring wi
ll consist of all characters |
81 // starting with charnum until the end of the list of characters. | 81 // starting with charnum until the end of the list of characters. |
82 shouldBe("svgText.getSubStringLength(2, 999)", "svgText.getSubStringLength(2, 5)
"); | 82 shouldBe("svgText.getSubStringLength(2, 999)", "svgText.getSubStringLength(2, 5)
"); |
83 shouldBe("svgText.getSubStringLength(2, -1)", "svgText.getSubStringLength(2, 5)"
); | 83 shouldBe("svgText.getSubStringLength(2, -1)", "svgText.getSubStringLength(2, 5)"
); |
84 shouldBe("svgText.getSubStringLength(2, 2)", "svgText.getSubStringLength(2, -429
4967294)"); | 84 shouldBe("svgText.getSubStringLength(2, 2)", "svgText.getSubStringLength(2, -429
4967294)"); |
85 shouldNotThrow("svgText.selectSubString(2, 999)"); | 85 shouldNotThrow("svgText.selectSubString(2, 999)"); |
86 shouldNotThrow("svgText.selectSubString(2, -1)"); | 86 shouldNotThrow("svgText.selectSubString(2, -1)"); |
87 shouldNotThrow("svgText.selectSubString(2, -4294967294)"); | 87 shouldNotThrow("svgText.selectSubString(2, -4294967294)"); |
88 | 88 |
89 </script> | 89 </script> |
90 <script src="../../fast/js/resources/js-test-post.js"></script> | |
91 </body> | 90 </body> |
92 </html> | 91 </html> |
OLD | NEW |