Skip to content

Commit

Permalink
Change test/func-PATH_GRID/* for new API
Browse files Browse the repository at this point in the history
  • Loading branch information
anseki committed Jul 12, 2016
1 parent d491b45 commit 2f6f454
Show file tree
Hide file tree
Showing 11 changed files with 326 additions and 1,006 deletions.
25 changes: 23 additions & 2 deletions test/func-PATH_GRID/cases.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@

<style>

th {
text-align: left;
vertical-align: top;
}

.view {
display: block;
width: 240px;
Expand All @@ -26,9 +31,11 @@

</style>

<script src="../../src/path-data-polyfill/path-data-polyfill.js"></script>
<script src="/src/path-data-polyfill/path-data-polyfill.js"></script>
<script>pathDataPolyfill(window)</script>
<script src="../get-source.js"></script>
<script src="cases.js"></script>
<script src="testCasesSvg.json.js"></script>
</head>
<body>

Expand All @@ -41,7 +48,21 @@
</defs>
</svg>

<textarea id="code"></textarea>
<table>
<tbody id="cases-tbody">
<tr>
<th></th>
<th>Actual</th>
<th>Expected</th>
</tr>
</tbody>
</table>

<h2>testCases.json</h2>
<textarea id="testCases-json"></textarea>

<h2>New testCasesSvg.json</h2>
<textarea id="testCasesSvg-json"></textarea>

</body>
</html>
Loading

0 comments on commit 2f6f454

Please sign in to comment.