author | bpatel |
Tue, 04 Apr 2017 23:04:39 -0700 | |
changeset 44567 | 126285be00b9 |
parent 44565 | 41071e253324 |
child 44813 | eac0b6c86a43 |
permissions | -rw-r--r-- |
10 | 1 |
/* |
43870
8805a0acaded
8151743: Header can still disappear behind the navbar
bpatel
parents:
42831
diff
changeset
|
2 |
* Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved. |
10 | 3 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 |
* |
|
5 |
* This code is free software; you can redistribute it and/or modify it |
|
6 |
* under the terms of the GNU General Public License version 2 only, as |
|
7 |
* published by the Free Software Foundation. |
|
8 |
* |
|
9 |
* This code is distributed in the hope that it will be useful, but WITHOUT |
|
10 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
11 |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
12 |
* version 2 for more details (a copy is included in the LICENSE file that |
|
13 |
* accompanied this code). |
|
14 |
* |
|
15 |
* You should have received a copy of the GNU General Public License version |
|
16 |
* 2 along with this work; if not, write to the Free Software Foundation, |
|
17 |
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|
18 |
* |
|
5520 | 19 |
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
20 |
* or visit www.oracle.com if you need additional information or have any |
|
21 |
* questions. |
|
10 | 22 |
*/ |
23 |
||
24 |
/* |
|
25 |
* @test |
|
44565
41071e253324
8177417: Constructor Summary readability problems in jdk9 javadoc
bpatel
parents:
43870
diff
changeset
|
26 |
* @bug 4494033 7028815 7052425 8007338 8023608 8008164 8016549 8072461 8154261 8162363 8160196 8151743 8177417 |
44567
126285be00b9
8175218: The fix for JDK-8141492 broke formatting of some javadoc documentation.
bpatel
parents:
44565
diff
changeset
|
27 |
* 8175218 |
10 | 28 |
* @summary Run tests on doclet stylesheet. |
29 |
* @author jamieh |
|
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
30 |
* @library ../lib |
36526 | 31 |
* @modules jdk.javadoc/jdk.javadoc.internal.tool |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
32 |
* @build JavadocTester |
10 | 33 |
* @run main TestStylesheet |
34 |
*/ |
|
35 |
||
36 |
public class TestStylesheet extends JavadocTester { |
|
37 |
||
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
38 |
public static void main(String... args) throws Exception { |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
39 |
TestStylesheet tester = new TestStylesheet(); |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
40 |
tester.runTests(); |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
41 |
} |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
42 |
|
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
43 |
@Test |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
44 |
void test() { |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
45 |
javadoc("-d", "out", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
46 |
"-sourcepath", testSrc, |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
47 |
"pkg"); |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
48 |
checkExit(Exit.OK); |
10 | 49 |
|
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
50 |
// TODO: most of this test seems a bit silly, since javadoc is simply |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
51 |
// copying in the stylesheet from the source directory |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
52 |
checkOutput("stylesheet.css", true, |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
53 |
"/* Javadoc style sheet */", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
54 |
"/*\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
55 |
+ "Overall document style\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
56 |
+ "*/", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
57 |
"/*\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
58 |
+ "Heading styles\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
59 |
+ "*/", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
60 |
"/*\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
61 |
+ "Navigation bar styles\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
62 |
+ "*/", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
63 |
"body {\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
64 |
+ " background-color:#ffffff;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
65 |
+ " color:#353833;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
66 |
+ " font-family:'DejaVu Sans', Arial, Helvetica, sans-serif;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
67 |
+ " font-size:14px;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
68 |
+ " margin:0;\n" |
29429
964498d4dcec
8074521: Generate iframe instead of frame and frameset for index.html page
bpatel
parents:
29428
diff
changeset
|
69 |
+ " padding:0;\n" |
964498d4dcec
8074521: Generate iframe instead of frame and frameset for index.html page
bpatel
parents:
29428
diff
changeset
|
70 |
+ " height:100%;\n" |
964498d4dcec
8074521: Generate iframe instead of frame and frameset for index.html page
bpatel
parents:
29428
diff
changeset
|
71 |
+ " width:100%;\n" |
964498d4dcec
8074521: Generate iframe instead of frame and frameset for index.html page
bpatel
parents:
29428
diff
changeset
|
72 |
+ "}", |
964498d4dcec
8074521: Generate iframe instead of frame and frameset for index.html page
bpatel
parents:
29428
diff
changeset
|
73 |
"iframe {\n" |
964498d4dcec
8074521: Generate iframe instead of frame and frameset for index.html page
bpatel
parents:
29428
diff
changeset
|
74 |
+ " margin:0;\n" |
964498d4dcec
8074521: Generate iframe instead of frame and frameset for index.html page
bpatel
parents:
29428
diff
changeset
|
75 |
+ " padding:0;\n" |
964498d4dcec
8074521: Generate iframe instead of frame and frameset for index.html page
bpatel
parents:
29428
diff
changeset
|
76 |
+ " height:100%;\n" |
964498d4dcec
8074521: Generate iframe instead of frame and frameset for index.html page
bpatel
parents:
29428
diff
changeset
|
77 |
+ " width:100%;\n" |
964498d4dcec
8074521: Generate iframe instead of frame and frameset for index.html page
bpatel
parents:
29428
diff
changeset
|
78 |
+ " overflow-y:scroll;\n" |
964498d4dcec
8074521: Generate iframe instead of frame and frameset for index.html page
bpatel
parents:
29428
diff
changeset
|
79 |
+ " border:none;\n" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
80 |
+ "}", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
81 |
"ul {\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
82 |
+ " list-style-type:disc;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
83 |
+ "}", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
84 |
".overviewSummary caption, .memberSummary caption, .typeSummary caption,\n" |
39670
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
36526
diff
changeset
|
85 |
+ ".useSummary caption, .constantsSummary caption, .deprecatedSummary caption,\n" |
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
36526
diff
changeset
|
86 |
+ ".requiresSummary caption, .packagesSummary caption, .providesSummary caption, .usesSummary caption {\n" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
87 |
+ " position:relative;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
88 |
+ " text-align:left;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
89 |
+ " background-repeat:no-repeat;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
90 |
+ " color:#253441;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
91 |
+ " font-weight:bold;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
92 |
+ " clear:none;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
93 |
+ " overflow:hidden;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
94 |
+ " padding:0px;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
95 |
+ " padding-top:10px;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
96 |
+ " padding-left:1px;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
97 |
+ " margin:0px;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
98 |
+ " white-space:pre;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
99 |
+ "}", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
100 |
".overviewSummary caption span, .memberSummary caption span, .typeSummary caption span,\n" |
39670
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
36526
diff
changeset
|
101 |
+ ".useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span,\n" |
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
36526
diff
changeset
|
102 |
+ ".requiresSummary caption span, .packagesSummary caption span, .providesSummary caption span,\n" |
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
36526
diff
changeset
|
103 |
+ ".usesSummary caption span {\n" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
104 |
+ " white-space:nowrap;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
105 |
+ " padding-top:5px;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
106 |
+ " padding-left:12px;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
107 |
+ " padding-right:12px;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
108 |
+ " padding-bottom:7px;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
109 |
+ " display:inline-block;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
110 |
+ " float:left;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
111 |
+ " background-color:#F8981D;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
112 |
+ " border: none;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
113 |
+ " height:16px;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
114 |
+ "}", |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
41157
diff
changeset
|
115 |
".memberSummary caption span.activeTableTab span, .packagesSummary caption span.activeTableTab span {\n" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
116 |
+ " white-space:nowrap;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
117 |
+ " padding-top:5px;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
118 |
+ " padding-left:12px;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
119 |
+ " padding-right:12px;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
120 |
+ " margin-right:3px;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
121 |
+ " display:inline-block;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
122 |
+ " float:left;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
123 |
+ " background-color:#F8981D;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
124 |
+ " height:16px;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
125 |
+ "}", |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
41157
diff
changeset
|
126 |
".memberSummary caption span.tableTab span, .packagesSummary caption span.tableTab span {\n" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
127 |
+ " white-space:nowrap;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
128 |
+ " padding-top:5px;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
129 |
+ " padding-left:12px;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
130 |
+ " padding-right:12px;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
131 |
+ " margin-right:3px;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
132 |
+ " display:inline-block;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
133 |
+ " float:left;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
134 |
+ " background-color:#4D7A97;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
135 |
+ " height:16px;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
136 |
+ "}", |
29428
f720ab1e8427
8072461: Table's field width in "Use" page generated by javadoc with '-s' is unbalanced
bpatel
parents:
24399
diff
changeset
|
137 |
// Test the formatting styles for proper content display in use and constant values pages. |
f720ab1e8427
8072461: Table's field width in "Use" page generated by javadoc with '-s' is unbalanced
bpatel
parents:
24399
diff
changeset
|
138 |
".overviewSummary td.colFirst, .overviewSummary th.colFirst,\n" |
39670
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
36526
diff
changeset
|
139 |
+ ".requiresSummary td.colFirst, .requiresSummary th.colFirst,\n" |
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
36526
diff
changeset
|
140 |
+ ".packagesSummary td.colFirst, .packagesSummary td.colSecond, .packagesSummary th.colFirst, .packagesSummary th,\n" |
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
36526
diff
changeset
|
141 |
+ ".usesSummary td.colFirst, .usesSummary th.colFirst,\n" |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
41157
diff
changeset
|
142 |
+ ".providesSummary td.colFirst, .providesSummary th.colFirst,\n" |
29428
f720ab1e8427
8072461: Table's field width in "Use" page generated by javadoc with '-s' is unbalanced
bpatel
parents:
24399
diff
changeset
|
143 |
+ ".memberSummary td.colFirst, .memberSummary th.colFirst,\n" |
44565
41071e253324
8177417: Constructor Summary readability problems in jdk9 javadoc
bpatel
parents:
43870
diff
changeset
|
144 |
+ ".memberSummary td.colSecond, .memberSummary th.colSecond, .memberSummary th.colConstructorName,\n" |
41071e253324
8177417: Constructor Summary readability problems in jdk9 javadoc
bpatel
parents:
43870
diff
changeset
|
145 |
+ ".typeSummary td.colFirst {\n" |
29428
f720ab1e8427
8072461: Table's field width in "Use" page generated by javadoc with '-s' is unbalanced
bpatel
parents:
24399
diff
changeset
|
146 |
+ " vertical-align:top;\n" |
f720ab1e8427
8072461: Table's field width in "Use" page generated by javadoc with '-s' is unbalanced
bpatel
parents:
24399
diff
changeset
|
147 |
+ "}", |
f720ab1e8427
8072461: Table's field width in "Use" page generated by javadoc with '-s' is unbalanced
bpatel
parents:
24399
diff
changeset
|
148 |
".overviewSummary td, .memberSummary td, .typeSummary td,\n" |
39670
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
36526
diff
changeset
|
149 |
+ ".useSummary td, .constantsSummary td, .deprecatedSummary td,\n" |
9d1eafbf29c6
8154261: Module summary page should display directives for the module
bpatel
parents:
36526
diff
changeset
|
150 |
+ ".requiresSummary td, .packagesSummary td, .providesSummary td, .usesSummary td {\n" |
29428
f720ab1e8427
8072461: Table's field width in "Use" page generated by javadoc with '-s' is unbalanced
bpatel
parents:
24399
diff
changeset
|
151 |
+ " text-align:left;\n" |
f720ab1e8427
8072461: Table's field width in "Use" page generated by javadoc with '-s' is unbalanced
bpatel
parents:
24399
diff
changeset
|
152 |
+ " padding:0px 0px 12px 10px;\n" |
f720ab1e8427
8072461: Table's field width in "Use" page generated by javadoc with '-s' is unbalanced
bpatel
parents:
24399
diff
changeset
|
153 |
+ "}", |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
41157
diff
changeset
|
154 |
".memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab,\n" |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
41157
diff
changeset
|
155 |
+ ".packagesSummary caption span.tableTab, .packagesSummary caption span.activeTableTab {\n" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
156 |
+ " padding-top:0px;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
157 |
+ " padding-left:0px;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
158 |
+ " padding-right:0px;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
159 |
+ " background-image:none;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
160 |
+ " float:none;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
161 |
+ " display:inline;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
162 |
+ "}", |
43870
8805a0acaded
8151743: Header can still disappear behind the navbar
bpatel
parents:
42831
diff
changeset
|
163 |
"@import url('resources/fonts/dejavu.css');", |
8805a0acaded
8151743: Header can still disappear behind the navbar
bpatel
parents:
42831
diff
changeset
|
164 |
".navPadding {\n" |
8805a0acaded
8151743: Header can still disappear behind the navbar
bpatel
parents:
42831
diff
changeset
|
165 |
+ " padding-top: 107px;\n" |
44567
126285be00b9
8175218: The fix for JDK-8141492 broke formatting of some javadoc documentation.
bpatel
parents:
44565
diff
changeset
|
166 |
+ "}", |
126285be00b9
8175218: The fix for JDK-8141492 broke formatting of some javadoc documentation.
bpatel
parents:
44565
diff
changeset
|
167 |
"a[name]:before, a[name]:target, a[id]:before, a[id]:target {\n" |
126285be00b9
8175218: The fix for JDK-8141492 broke formatting of some javadoc documentation.
bpatel
parents:
44565
diff
changeset
|
168 |
+ " content:\"\";\n" |
126285be00b9
8175218: The fix for JDK-8141492 broke formatting of some javadoc documentation.
bpatel
parents:
44565
diff
changeset
|
169 |
+ " display:inline-block;\n" |
126285be00b9
8175218: The fix for JDK-8141492 broke formatting of some javadoc documentation.
bpatel
parents:
44565
diff
changeset
|
170 |
+ " position:relative;\n" |
126285be00b9
8175218: The fix for JDK-8141492 broke formatting of some javadoc documentation.
bpatel
parents:
44565
diff
changeset
|
171 |
+ " padding-top:129px;\n" |
126285be00b9
8175218: The fix for JDK-8141492 broke formatting of some javadoc documentation.
bpatel
parents:
44565
diff
changeset
|
172 |
+ " margin-top:-129px;\n" |
126285be00b9
8175218: The fix for JDK-8141492 broke formatting of some javadoc documentation.
bpatel
parents:
44565
diff
changeset
|
173 |
+ "}\n" |
126285be00b9
8175218: The fix for JDK-8141492 broke formatting of some javadoc documentation.
bpatel
parents:
44565
diff
changeset
|
174 |
+ ".searchTagResult:before, .searchTagResult:target {\n" |
126285be00b9
8175218: The fix for JDK-8141492 broke formatting of some javadoc documentation.
bpatel
parents:
44565
diff
changeset
|
175 |
+ " color:red;\n" |
43870
8805a0acaded
8151743: Header can still disappear behind the navbar
bpatel
parents:
42831
diff
changeset
|
176 |
+ "}"); |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
177 |
|
7614
cfadc977ca75
6851834: Javadoc doclet needs a structured approach to generate the output HTML.
bpatel
parents:
5520
diff
changeset
|
178 |
// Test whether a link to the stylesheet file is inserted properly |
cfadc977ca75
6851834: Javadoc doclet needs a structured approach to generate the output HTML.
bpatel
parents:
5520
diff
changeset
|
179 |
// in the class documentation. |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
180 |
checkOutput("pkg/A.html", true, |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
181 |
"<link rel=\"stylesheet\" type=\"text/css\" " |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
182 |
+ "href=\"../stylesheet.css\" title=\"Style\">"); |
10 | 183 |
|
29429
964498d4dcec
8074521: Generate iframe instead of frame and frameset for index.html page
bpatel
parents:
29428
diff
changeset
|
184 |
checkOutput("index.html", true, |
964498d4dcec
8074521: Generate iframe instead of frame and frameset for index.html page
bpatel
parents:
29428
diff
changeset
|
185 |
"<link rel=\"stylesheet\" type=\"text/css\" href=\"stylesheet.css\" title=\"Style\">"); |
964498d4dcec
8074521: Generate iframe instead of frame and frameset for index.html page
bpatel
parents:
29428
diff
changeset
|
186 |
|
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
187 |
checkOutput("stylesheet.css", false, |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
188 |
"* {\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
189 |
+ " margin:0;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
190 |
+ " padding:0;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
191 |
+ "}"); |
10 | 192 |
} |
193 |
} |