Skip to content
This repository was archived by the owner on Sep 2, 2022. It is now read-only.
/ jdk17 Public archive

Commit 3826012

Browse files
committedJun 30, 2021
8268557: Module page uses unstyled table class
Reviewed-by: jjg
1 parent 2b17e95 commit 3826012

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed
 

‎src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/resources/stylesheet.css

+2-4
Original file line numberDiff line numberDiff line change
@@ -350,14 +350,12 @@ ul.see-list-long li:not(:last-child):after {
350350
/*
351351
* Styles for tables.
352352
*/
353-
.summary-table {
353+
.summary-table, .details-table {
354354
width:100%;
355355
border-spacing:0;
356356
border-left:1px solid #EEE;
357357
border-right:1px solid #EEE;
358358
border-bottom:1px solid #EEE;
359-
}
360-
.summary-table {
361359
padding:0;
362360
}
363361
.caption {
@@ -445,7 +443,7 @@ div.table-tabs > button.table-tab {
445443
grid-template-columns: minmax(15%, max-content) minmax(15%, auto);
446444
}
447445
}
448-
.summary-table > div {
446+
.summary-table > div, .details-table > div {
449447
text-align:left;
450448
padding: 8px 3px 3px 7px;
451449
}

‎test/langtools/jdk/javadoc/doclet/checkStylesheetClasses/CheckStylesheetClasses.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ void run() throws Exception {
120120
"modifiers", "permits", "return-type");
121121

122122
// misc: these are defined in HtmlStyle, and used by the doclet
123-
removeAll(htmlStyleNames, "col-plain", "details-table", "external-link",
123+
removeAll(htmlStyleNames, "col-plain", "external-link",
124124
"hierarchy", "index", "package-uses", "packages", "permits-note",
125125
"serialized-package-container", "source-container");
126126

‎test/langtools/jdk/javadoc/doclet/testStylesheet/TestStylesheet.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ public void test(Path base) {
140140
overflow: auto;
141141
}""",
142142
"""
143-
.summary-table > div {
143+
.summary-table > div, .details-table > div {
144144
text-align:left;
145145
padding: 8px 3px 3px 7px;
146146
}""",

1 commit comments

Comments
 (1)

openjdk-notifier[bot] commented on Jun 30, 2021

@openjdk-notifier[bot]
This repository has been archived.