From de7aee246591f0be9ee58079175b42af7f5a6947 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 23 Mar 2012 01:28:04 -0700 Subject: fix broken tables with double borders and such, add css tests page to start with table edge cases --- docs/assets/bootstrap.zip | Bin 55701 -> 55760 bytes docs/assets/css/bootstrap.css | 6 ++ docs/css-tests.html | 184 +++++++++++++++++++++++++++++++- docs/templates/pages/css-tests.mustache | 184 +++++++++++++++++++++++++++++++- 4 files changed, 370 insertions(+), 4 deletions(-) (limited to 'docs') diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip index 566d3e621..6262fbb6c 100644 Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index f4d2dbe37..bdf6a771f 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -1237,6 +1237,12 @@ table { .table-bordered td { border-left: 1px solid #dddddd; } +.table-bordered caption + thead tr:first-child th, +.table-bordered caption + tbody tr:first-child th, +.table-bordered caption + tbody tr:first-child td, +.table-bordered colgroup + thead tr:first-child th, +.table-bordered colgroup + tbody tr:first-child th, +.table-bordered colgroup + tbody tr:first-child td, .table-bordered thead:first-child tr:first-child th, .table-bordered tbody:first-child tr:first-child th, .table-bordered tbody:first-child tr:first-child td { diff --git a/docs/css-tests.html b/docs/css-tests.html index 3eeac5924..6dcec9798 100644 --- a/docs/css-tests.html +++ b/docs/css-tests.html @@ -74,13 +74,193 @@
+ +
-

Tests

-

+

CSS Tests

+

One stop shop for quick debugging and edge-case tests of CSS.

+ + +
+
+

Bordered without thead

+ + + + + + + + + + + + + + + + + + +
123
123
123
+

Bordered without thead, with caption

+ + + + + + + + + + + + + + + + + + + +
Table caption
123
123
123
+

Bordered without thead, with colgroup

+ + + + + + + + + + + + + + + + + + + + + + + +
123
123
123
+

Bordered with thead, with colgroup

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
123
123
123
123
+
+
+

Bordered with thead and caption

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Table caption
123
123
123
123
+

Bordered with rowspan and colspan

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
123
1 and 23
123
13
2 and 3
+
+
+ diff --git a/docs/templates/pages/css-tests.mustache b/docs/templates/pages/css-tests.mustache index 6455039c4..cde7484dc 100644 --- a/docs/templates/pages/css-tests.mustache +++ b/docs/templates/pages/css-tests.mustache @@ -1,6 +1,186 @@ + +
-

{{_i}}Tests{{/i}}

-

{{_i}}{{/i}}

+

{{_i}}CSS Tests{{/i}}

+

{{_i}}One stop shop for quick debugging and edge-case tests of CSS.{{/i}}

+ + + +
+
+

Bordered without thead

+ + + + + + + + + + + + + + + + + + +
123
123
123
+

Bordered without thead, with caption

+ + + + + + + + + + + + + + + + + + + +
Table caption
123
123
123
+

Bordered without thead, with colgroup

+ + + + + + + + + + + + + + + + + + + + + + + +
123
123
123
+

Bordered with thead, with colgroup

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
123
123
123
123
+
+
+

Bordered with thead and caption

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Table caption
123
123
123
123
+

Bordered with rowspan and colspan

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
123
1 and 23
123
13
2 and 3
+
+
-- cgit v1.2.3