-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix(tables): allow for one column table
Closes #406
- Loading branch information
Showing
7 changed files
with
142 additions
and
23 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
81 changes: 81 additions & 0 deletions
81
test/features/tables/#406.does-not-render-one-column-tables.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
<table> | ||
<thead> | ||
<tr> | ||
<th>some header</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td>some content</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
<table> | ||
<thead> | ||
<tr> | ||
<th>some header</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
</tbody> | ||
</table> | ||
<table> | ||
<thead> | ||
<tr> | ||
<th>some header</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td>some content</td> | ||
</tr> | ||
<tr> | ||
<td>some content</td> | ||
</tr> | ||
<tr> | ||
<td>some content</td> | ||
</tr> | ||
<tr> | ||
<td>some content</td> | ||
</tr> | ||
<tr> | ||
<td>some content</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
<table> | ||
<thead> | ||
<tr> | ||
<th style="text-align:left;">some header</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td style="text-align:left;">some content</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
<table> | ||
<thead> | ||
<tr> | ||
<th style="text-align:right;">some header</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td style="text-align:right;">some content</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
<table> | ||
<thead> | ||
<tr> | ||
<th style="text-align:center;">some header</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td style="text-align:center;">some content</td> | ||
</tr> | ||
</tbody> | ||
</table> |
26 changes: 26 additions & 0 deletions
26
test/features/tables/#406.does-not-render-one-column-tables.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
|some header | | ||
|------------| | ||
|some content| | ||
|
||
|some header | | ||
|------------| | ||
|
||
|some header | | ||
|------------| | ||
|some content| | ||
|some content| | ||
|some content| | ||
|some content| | ||
|some content| | ||
|
||
|some header | | ||
|:-----------| | ||
|some content| | ||
|
||
|some header | | ||
|-----------:| | ||
|some content| | ||
|
||
|some header | | ||
|:----------:| | ||
|some content| |