8186460: Fix stylesheet to better display multi-row headers in "striped" tables.
Reviewed-by: bpatel
--- a/langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/resources/stylesheet.css Tue Aug 22 23:26:28 2017 -0700
+++ b/langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/resources/stylesheet.css Wed Aug 23 10:53:57 2017 -0700
@@ -854,6 +854,8 @@
}
table.striped > thead {
background-color: #DDD;
+}
+table.striped > thead > tr > th, table.striped > thead > tr > td {
border: 1px solid black;
}
table.striped > tbody > tr:nth-child(even) {
@@ -862,8 +864,7 @@
table.striped > tbody > tr:nth-child(odd) {
background-color: #FFF
}
-table.striped > thead > tr > th, table.striped > tbody > tr > th,
-table.striped > tbody > tr > td, table.striped > tbody > tr > td {
+table.striped > tbody > tr > th, table.striped > tbody > tr > td {
border-left: 1px solid black;
border-right: 1px solid black;
}