8186460: Fix stylesheet to better display multi-row headers in "striped" tables.
authorjjg
Wed, 23 Aug 2017 10:53:57 -0700
changeset 46925 c538fe357ff9
parent 46924 58445145ef13
child 46926 25ac5da6502e
8186460: Fix stylesheet to better display multi-row headers in "striped" tables. Reviewed-by: bpatel
langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/resources/stylesheet.css
--- 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;
 }