Эх сурвалжийг харах

table extension new test cases:

+ larger table
+ equals as header separators
Pascal Deschenes 12 жил өмнө
parent
commit
b9f38acb18

+ 48 - 0
test/extensions/table/large.html

@@ -0,0 +1,48 @@
+<table>
+<thead>
+<tr>
+<th id="first_header" style="text-align:left;"> First Header  </th>
+<th id="second_header" style="text-align:left;"> Second Header </th>
+<th id="third_header" style="text-align:left;"> Third Header  </th>
+<th id="fourth_header" style="text-align:left;"> Fourth Header </th>
+</tr>
+</thead>
+
+<tbody>
+<tr>
+<td style="text-align:left;"> Row 1 Cell 1  </td>
+<td style="text-align:left;"> Row 1 Cell 2  </td>
+<td style="text-align:left;"> Row 1 Cell 3  </td>
+<td style="text-align:left;"> Row 1 Cell 4  </td>
+</tr>
+
+<tr>
+<td style="text-align:left;"> Row 2 Cell 1  </td>
+<td style="text-align:left;"> Row 2 Cell 2  </td>
+<td style="text-align:left;"> Row 2 Cell 3  </td>
+<td style="text-align:left;"> Row 2 Cell 4  </td>
+</tr>
+
+<tr>
+<td style="text-align:left;"> Row 3 Cell 1  </td>
+<td style="text-align:left;"> Row 3 Cell 2  </td>
+<td style="text-align:left;"> Row 3 Cell 3  </td>
+<td style="text-align:left;"> Row 3 Cell 4  </td>
+</tr>
+
+<tr>
+<td style="text-align:left;"> Row 4 Cell 1  </td>
+<td style="text-align:left;"> Row 4 Cell 2  </td>
+<td style="text-align:left;"> Row 4 Cell 3  </td>
+<td style="text-align:left;"> Row 4 Cell 4  </td>
+</tr>
+
+<tr>
+<td style="text-align:left;"> Row 5 Cell 1  </td>
+<td style="text-align:left;"> Row 5 Cell 2  </td>
+<td style="text-align:left;"> Row 5 Cell 3  </td>
+<td style="text-align:left;"> Row 5 Cell 4  </td>
+</tr>
+
+</tbody>
+</table>

+ 7 - 0
test/extensions/table/large.md

@@ -0,0 +1,7 @@
+| First Header  | Second Header | Third Header  | Fourth Header |
+| ------------- | ------------- | ------------  | ------------- |
+| Row 1 Cell 1  | Row 1 Cell 2  | Row 1 Cell 3  | Row 1 Cell 4  |
+| Row 2 Cell 1  | Row 2 Cell 2  | Row 2 Cell 3  | Row 2 Cell 4  |
+| Row 3 Cell 1  | Row 3 Cell 2  | Row 3 Cell 3  | Row 3 Cell 4  |
+| Row 4 Cell 1  | Row 4 Cell 2  | Row 4 Cell 3  | Row 4 Cell 4  |
+| Row 5 Cell 1  | Row 5 Cell 2  | Row 5 Cell 3  | Row 5 Cell 4  |

+ 21 - 0
test/extensions/table/with-equals.html

@@ -0,0 +1,21 @@
+<table>
+<thead>
+<tr>
+<th id="first_header" style="text-align:left;"> First Header  </th>
+<th id="second_header" style="text-align:left;"> Second Header </th>
+</tr>
+</thead>
+
+<tbody>
+<tr>
+<td style="text-align:left;"> Row 1 Cell 1  </td>
+<td style="text-align:left;"> Row 1 Cell 2  </td>
+</tr>
+
+<tr>
+<td style="text-align:left;"> Row 2 Cell 1  </td>
+<td style="text-align:left;"> Row 2 Cell 2  </td>
+</tr>
+
+</tbody>
+</table>

+ 4 - 0
test/extensions/table/with-equals.md

@@ -0,0 +1,4 @@
+| First Header  | Second Header |
+| ============= | ============= |
+| Row 1 Cell 1  | Row 1 Cell 2  |
+| Row 2 Cell 1  | Row 2 Cell 2  |