aboutsummaryrefslogtreecommitdiff
path: root/less/tests/css-tests.html
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-12-08 12:52:19 -0800
committerMark Otto <[email protected]>2012-12-08 12:52:19 -0800
commitcacc2137620675f81ab8895c2988778d12f92596 (patch)
tree89e0b532a61eaad0f4b90aba3e270b9a4cc292bc /less/tests/css-tests.html
parentb9292ff90ca90e2df70744d33195993fddf39b3d (diff)
downloadbootstrap-cacc2137620675f81ab8895c2988778d12f92596.tar.xz
bootstrap-cacc2137620675f81ab8895c2988778d12f92596.zip
Nesting tables
* Add simple test to css-tests.html * Scope .table-bordered to immediate children th/td elements only
Diffstat (limited to 'less/tests/css-tests.html')
-rw-r--r--less/tests/css-tests.html49
1 files changed, 49 insertions, 0 deletions
diff --git a/less/tests/css-tests.html b/less/tests/css-tests.html
index 70b8904b3..035ba8bd4 100644
--- a/less/tests/css-tests.html
+++ b/less/tests/css-tests.html
@@ -593,6 +593,55 @@
</div>
</div><!--/row-->
+<h4>Nesting and striping</h4>
+<table class="table table-bordered table-striped">
+ <thead>
+ <tr>
+ <th>Test</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>
+ <table class="table table-bordered table-striped">
+ <thead>
+ <tr>
+ <th>Test</th>
+ <th>Test</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>
+ test
+ </td>
+ <td>
+ test
+ </td>
+ </tr>
+ <tr>
+ <td>
+ test
+ </td>
+ <td>
+ test
+ </td>
+ </tr>
+ <tr>
+ <td>
+ test
+ </td>
+ <td>
+ test
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </td>
+ </tr>
+ </tbody>
+</table>
+
<h4>Fluid grid sizing</h4>
<div class="row-fluid">
<div class="span12">