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

Side by Side Diff: LayoutTests/svg/dom/SVGPointList-basics.xhtml

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
« no previous file with comments | « LayoutTests/svg/dom/SVGPoint.html ('k') | LayoutTests/svg/dom/SVGRect.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <polyline id="poly1" stroke="green" points="0 0 100 0 100 100 0 100"/> 8 <polyline id="poly1" stroke="green" points="0 0 100 0 100 100 0 100"/>
9 </svg> 9 </svg>
10 10
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 shouldThrow("poly1.points.appendItem(null)"); 193 shouldThrow("poly1.points.appendItem(null)");
194 194
195 shouldBeEqualToString("dumpPoint(poly1.points.appendItem(point))", "x=200 y= 100"); 195 shouldBeEqualToString("dumpPoint(poly1.points.appendItem(point))", "x=200 y= 100");
196 shouldBe("poly1.points.numberOfItems", "2"); 196 shouldBe("poly1.points.numberOfItems", "2");
197 shouldBeEqualToString("dumpPoint(poly1.points.getItem(0))", "x=0 y=100"); 197 shouldBeEqualToString("dumpPoint(poly1.points.getItem(0))", "x=0 y=100");
198 shouldBeEqualToString("dumpPoint(poly1.points.getItem(1))", "x=200 y=100"); 198 shouldBeEqualToString("dumpPoint(poly1.points.getItem(1))", "x=200 y=100");
199 shouldBeEqualToString("poly1.getAttribute('points').formatPointsAttribute()" , "0 100 200 100"); 199 shouldBeEqualToString("poly1.getAttribute('points').formatPointsAttribute()" , "0 100 200 100");
200 200
201 ]]> 201 ]]>
202 </script> 202 </script>
203 <script src="../../fast/js/resources/js-test-post.js"></script>
204 </body> 203 </body>
205 </html> 204 </html>
OLDNEW
« no previous file with comments | « LayoutTests/svg/dom/SVGPoint.html ('k') | LayoutTests/svg/dom/SVGRect.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698