Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: LayoutTests/svg/text/svgtextcontentelement-methods-parameters.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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>
OLDNEW
« no previous file with comments | « LayoutTests/svg/text/script-tests/TEMPLATE.html ('k') | LayoutTests/touchadjustment/big-div.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698