Skip to content

Commit

Permalink
Merge pull request #807 from ckeditor/t/786
Browse files Browse the repository at this point in the history
Generic manual test for tableselection.
  • Loading branch information
f1ames authored Aug 22, 2017
2 parents 37fe5da + 2e25680 commit 9889975
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 14 deletions.
81 changes: 68 additions & 13 deletions tests/plugins/tableselection/manual/tableselection.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,51 @@ <h2>Normal table</h2>
<p>Some text</p>
</div>

<h2>Table with header and/or footer</h2>
<h2>Table with caption</h2>
<div id="editor2">
<p>Some text</p>

<table border="1">
<caption>I'm a caption</caption>
<tr>
<td>Cell 1.1</td>
<td>Cell 1.2</td>
<td>Cell 1.3</td>
<td>Cell 1.4</td>
</tr>
<tr>
<td>Cell 2.1</td>
<td>Cell 2.2</td>
<td>Cell 2.3</td>
<td>Cell 2.4</td>
</tr>
<tr>
<td>Cell 3.1</td>
<td>Cell 3.2</td>
<td>Cell 3.3</td>
<td>Cell 3.4</td>
</tr>
<tr>
<td>Cell 4.1</td>
<td>Cell 4.2</td>
<td>Cell 4.3</td>
<td>Cell 4.4</td>
</tr>
<tr>
<td>Cell 5.1</td>
<td>Cell 5.2</td>
<td>Cell 5.3</td>
<td>Cell 5.4</td>
</tr>
</table>

<p>Some text</p>
</div>

<h2>Table with header and/or footer</h2>
<div id="editor3">
<p>Some text</p>

<table border="1">
<thead>
<tr>
Expand All @@ -53,31 +94,31 @@ <h2>Table with header and/or footer</h2>
</thead>
<tbody>
<tr>
<td>Cell 1.1</td>
<th scope="row">Cell 1.1</th>
<td>Cell 1.2</td>
<td>Cell 1.3</td>
<td>Cell 1.4</td>
</tr>
<tr>
<td>Cell 2.1</td>
<th scope="row">Cell 2.1</th>
<td>Cell 2.2</td>
<td>Cell 2.3</td>
<td>Cell 2.4</td>
</tr>
<tr>
<td>Cell 3.1</td>
<th scope="row">Cell 3.1</th>
<td>Cell 3.2</td>
<td>Cell 3.3</td>
<td>Cell 3.4</td>
</tr>
<tr>
<td>Cell 4.1</td>
<th scope="row">Cell 4.1</th>
<td>Cell 4.2</td>
<td>Cell 4.3</td>
<td>Cell 4.4</td>
</tr>
<tr>
<td>Cell 5.1</td>
<th scope="row">Cell 5.1</th>
<td>Cell 5.2</td>
<td>Cell 5.3</td>
<td>Cell 5.4</td>
Expand Down Expand Up @@ -263,8 +304,8 @@ <h2>Table with header and/or footer</h2>
<p>Some text</p>
</div>

<h2>Table with <code>[colspan]</code></h2>
<div id="editor3">
<h2>Table with <code>[colspan]</code> and <code>[rowspan]</code></h2>
<div id="editor4">
<p>Some text</p>

<table border="1">
Expand Down Expand Up @@ -297,11 +338,6 @@ <h2>Table with <code>[colspan]</code></h2>
</table>

<p>Some text</p>
</div>

<h2>Table with <code>[rowspan]</code></h2>
<div id="editor4">
<p>Some text</p>

<table border="1">
<tbody>
Expand Down Expand Up @@ -341,6 +377,25 @@ <h2>Table with <code>[rowspan]</code></h2>
</table>

<p>Some text</p>

<table border="1">
<tr>
<td rowspan="3" colspan="3">1.1</td>
<td>1.4</td>
</tr>
<tr>
<td>2.4</td>
</tr>
<tr>
<td>3.4</td>
</tr>
<tr>
<td>4.1</td>
<td>4.2</td>
<td>4.3</td>
<td>4.4</td>
</tr>
</table>
</div>

<h2>Table with multiple <code>tbody</code> elements</h2>
Expand Down
2 changes: 1 addition & 1 deletion tests/plugins/tableselection/manual/tableselection.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@bender-ui: collapsed
@bender-tags: bug, trac16755, 4.7.0
@bender-tags: tableselection
@bender-ckeditor-plugins: wysiwygarea, toolbar, tableselection, link, basicstyles, sourcearea, elementspath, undo, autogrow

Have fun with visual table selection!
Expand Down

0 comments on commit 9889975

Please sign in to comment.