author | hannesw |
Tue, 22 Mar 2016 14:23:16 +0100 | |
changeset 36690 | 06b714373aa4 |
parent 30730 | d3ce7619db2c |
permissions | -rw-r--r-- |
10 | 1 |
/* |
29428
f720ab1e8427
8072461: Table's field width in "Use" page generated by javadoc with '-s' is unbalanced
bpatel
parents:
24399
diff
changeset
|
2 |
* Copyright (c) 2005, 2015, 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 |
|
29428
f720ab1e8427
8072461: Table's field width in "Use" page generated by javadoc with '-s' is unbalanced
bpatel
parents:
24399
diff
changeset
|
26 |
* @bug 4494033 7028815 7052425 8007338 8023608 8008164 8016549 8072461 |
10 | 27 |
* @summary Run tests on doclet stylesheet. |
28 |
* @author jamieh |
|
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
29 |
* @library ../lib |
30730
d3ce7619db2c
8076543: Add @modules as needed to the langtools tests
akulyakh
parents:
29429
diff
changeset
|
30 |
* @modules jdk.javadoc |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
31 |
* @build JavadocTester |
10 | 32 |
* @run main TestStylesheet |
33 |
*/ |
|
34 |
||
35 |
public class TestStylesheet extends JavadocTester { |
|
36 |
||
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
37 |
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
|
38 |
TestStylesheet tester = new TestStylesheet(); |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
39 |
tester.runTests(); |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
40 |
} |
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 |
@Test |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
43 |
void test() { |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
44 |
javadoc("-d", "out", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
45 |
"-sourcepath", testSrc, |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
46 |
"pkg"); |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
47 |
checkExit(Exit.OK); |
10 | 48 |
|
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
49 |
// 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
|
50 |
// 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
|
51 |
checkOutput("stylesheet.css", true, |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
52 |
"/* Javadoc style sheet */", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
53 |
"/*\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
54 |
+ "Overall document style\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
55 |
+ "*/", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
56 |
"/*\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
57 |
+ "Heading styles\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
58 |
+ "*/", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
59 |
"/*\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
60 |
+ "Navigation bar styles\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
61 |
+ "*/", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
62 |
"body {\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
63 |
+ " background-color:#ffffff;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
64 |
+ " color:#353833;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
65 |
+ " 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
|
66 |
+ " font-size:14px;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
67 |
+ " margin:0;\n" |
29429
964498d4dcec
8074521: Generate iframe instead of frame and frameset for index.html page
bpatel
parents:
29428
diff
changeset
|
68 |
+ " padding:0;\n" |
964498d4dcec
8074521: Generate iframe instead of frame and frameset for index.html page
bpatel
parents:
29428
diff
changeset
|
69 |
+ " height:100%;\n" |
964498d4dcec
8074521: Generate iframe instead of frame and frameset for index.html page
bpatel
parents:
29428
diff
changeset
|
70 |
+ " width:100%;\n" |
964498d4dcec
8074521: Generate iframe instead of frame and frameset for index.html page
bpatel
parents:
29428
diff
changeset
|
71 |
+ "}", |
964498d4dcec
8074521: Generate iframe instead of frame and frameset for index.html page
bpatel
parents:
29428
diff
changeset
|
72 |
"iframe {\n" |
964498d4dcec
8074521: Generate iframe instead of frame and frameset for index.html page
bpatel
parents:
29428
diff
changeset
|
73 |
+ " margin:0;\n" |
964498d4dcec
8074521: Generate iframe instead of frame and frameset for index.html page
bpatel
parents:
29428
diff
changeset
|
74 |
+ " padding:0;\n" |
964498d4dcec
8074521: Generate iframe instead of frame and frameset for index.html page
bpatel
parents:
29428
diff
changeset
|
75 |
+ " height:100%;\n" |
964498d4dcec
8074521: Generate iframe instead of frame and frameset for index.html page
bpatel
parents:
29428
diff
changeset
|
76 |
+ " width:100%;\n" |
964498d4dcec
8074521: Generate iframe instead of frame and frameset for index.html page
bpatel
parents:
29428
diff
changeset
|
77 |
+ " overflow-y:scroll;\n" |
964498d4dcec
8074521: Generate iframe instead of frame and frameset for index.html page
bpatel
parents:
29428
diff
changeset
|
78 |
+ " border:none;\n" |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
79 |
+ "}", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
80 |
"ul {\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
81 |
+ " list-style-type:disc;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
82 |
+ "}", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
83 |
".overviewSummary caption, .memberSummary caption, .typeSummary caption,\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
84 |
+ ".useSummary caption, .constantsSummary caption, .deprecatedSummary caption {\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
85 |
+ " position:relative;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
86 |
+ " text-align:left;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
87 |
+ " background-repeat:no-repeat;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
88 |
+ " color:#253441;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
89 |
+ " font-weight:bold;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
90 |
+ " clear:none;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
91 |
+ " overflow:hidden;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
92 |
+ " padding:0px;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
93 |
+ " padding-top:10px;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
94 |
+ " padding-left:1px;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
95 |
+ " margin:0px;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
96 |
+ " white-space:pre;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
97 |
+ "}", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
98 |
".overviewSummary caption span, .memberSummary caption span, .typeSummary caption span,\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
99 |
+ ".useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span {\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
100 |
+ " white-space:nowrap;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
101 |
+ " padding-top:5px;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
102 |
+ " padding-left:12px;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
103 |
+ " padding-right:12px;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
104 |
+ " padding-bottom:7px;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
105 |
+ " display:inline-block;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
106 |
+ " float:left;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
107 |
+ " background-color:#F8981D;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
108 |
+ " border: none;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
109 |
+ " height:16px;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
110 |
+ "}", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
111 |
".memberSummary caption span.activeTableTab span {\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
112 |
+ " white-space:nowrap;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
113 |
+ " padding-top:5px;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
114 |
+ " padding-left:12px;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
115 |
+ " padding-right:12px;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
116 |
+ " margin-right:3px;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
117 |
+ " display:inline-block;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
118 |
+ " float:left;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
119 |
+ " background-color:#F8981D;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
120 |
+ " height:16px;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
121 |
+ "}", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
122 |
".memberSummary caption span.tableTab span {\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
123 |
+ " white-space:nowrap;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
124 |
+ " padding-top:5px;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
125 |
+ " padding-left:12px;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
126 |
+ " padding-right:12px;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
127 |
+ " margin-right:3px;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
128 |
+ " display:inline-block;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
129 |
+ " float:left;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
130 |
+ " background-color:#4D7A97;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
131 |
+ " height:16px;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
132 |
+ "}", |
29428
f720ab1e8427
8072461: Table's field width in "Use" page generated by javadoc with '-s' is unbalanced
bpatel
parents:
24399
diff
changeset
|
133 |
// 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
|
134 |
".overviewSummary td.colFirst, .overviewSummary th.colFirst,\n" |
f720ab1e8427
8072461: Table's field width in "Use" page generated by javadoc with '-s' is unbalanced
bpatel
parents:
24399
diff
changeset
|
135 |
+ ".useSummary td.colFirst, .useSummary th.colFirst,\n" |
f720ab1e8427
8072461: Table's field width in "Use" page generated by javadoc with '-s' is unbalanced
bpatel
parents:
24399
diff
changeset
|
136 |
+ ".overviewSummary td.colOne, .overviewSummary th.colOne,\n" |
f720ab1e8427
8072461: Table's field width in "Use" page generated by javadoc with '-s' is unbalanced
bpatel
parents:
24399
diff
changeset
|
137 |
+ ".memberSummary td.colFirst, .memberSummary th.colFirst,\n" |
f720ab1e8427
8072461: Table's field width in "Use" page generated by javadoc with '-s' is unbalanced
bpatel
parents:
24399
diff
changeset
|
138 |
+ ".memberSummary td.colOne, .memberSummary th.colOne,\n" |
f720ab1e8427
8072461: Table's field width in "Use" page generated by javadoc with '-s' is unbalanced
bpatel
parents:
24399
diff
changeset
|
139 |
+ ".typeSummary td.colFirst{\n" |
f720ab1e8427
8072461: Table's field width in "Use" page generated by javadoc with '-s' is unbalanced
bpatel
parents:
24399
diff
changeset
|
140 |
+ " width:25%;\n" |
f720ab1e8427
8072461: Table's field width in "Use" page generated by javadoc with '-s' is unbalanced
bpatel
parents:
24399
diff
changeset
|
141 |
+ " 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
|
142 |
+ "}", |
f720ab1e8427
8072461: Table's field width in "Use" page generated by javadoc with '-s' is unbalanced
bpatel
parents:
24399
diff
changeset
|
143 |
".overviewSummary td, .memberSummary td, .typeSummary td,\n" |
f720ab1e8427
8072461: Table's field width in "Use" page generated by javadoc with '-s' is unbalanced
bpatel
parents:
24399
diff
changeset
|
144 |
+ ".useSummary td, .constantsSummary td, .deprecatedSummary td {\n" |
f720ab1e8427
8072461: Table's field width in "Use" page generated by javadoc with '-s' is unbalanced
bpatel
parents:
24399
diff
changeset
|
145 |
+ " 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
|
146 |
+ " 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
|
147 |
+ "}", |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
148 |
".memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab {\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
149 |
+ " padding-top:0px;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
150 |
+ " padding-left:0px;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
151 |
+ " padding-right:0px;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
152 |
+ " background-image:none;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
153 |
+ " float:none;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
154 |
+ " display:inline;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
155 |
+ "}", |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
156 |
"@import url('resources/fonts/dejavu.css');"); |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
157 |
|
7614
cfadc977ca75
6851834: Javadoc doclet needs a structured approach to generate the output HTML.
bpatel
parents:
5520
diff
changeset
|
158 |
// 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
|
159 |
// in the class documentation. |
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
160 |
checkOutput("pkg/A.html", true, |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
161 |
"<link rel=\"stylesheet\" type=\"text/css\" " |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
162 |
+ "href=\"../stylesheet.css\" title=\"Style\">"); |
10 | 163 |
|
29429
964498d4dcec
8074521: Generate iframe instead of frame and frameset for index.html page
bpatel
parents:
29428
diff
changeset
|
164 |
checkOutput("index.html", true, |
964498d4dcec
8074521: Generate iframe instead of frame and frameset for index.html page
bpatel
parents:
29428
diff
changeset
|
165 |
"<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
|
166 |
|
24399
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
167 |
checkOutput("stylesheet.css", false, |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
168 |
"* {\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
169 |
+ " margin:0;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
170 |
+ " padding:0;\n" |
af1a0220d0fa
8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents:
24072
diff
changeset
|
171 |
+ "}"); |
10 | 172 |
} |
173 |
} |