test/langtools/jdk/javadoc/doclet/testStylesheet/TestStylesheet.java
changeset 50167 cc705c956798
parent 49139 771616d26ca1
child 52616 1a395165c09b
equal deleted inserted replaced
50166:1d683e243d8d 50167:cc705c956798
    22  */
    22  */
    23 
    23 
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @bug      4494033 7028815 7052425 8007338 8023608 8008164 8016549 8072461 8154261 8162363 8160196 8151743 8177417
    26  * @bug      4494033 7028815 7052425 8007338 8023608 8008164 8016549 8072461 8154261 8162363 8160196 8151743 8177417
    27  *           8175218 8176452 8181215 8182263 8183511 8169819 8183037 8185369 8182765
    27  *           8175218 8176452 8181215 8182263 8183511 8169819 8183037 8185369 8182765 8196201
    28  * @summary  Run tests on doclet stylesheet.
    28  * @summary  Run tests on doclet stylesheet.
    29  * @author   jamieh
    29  * @author   jamieh
    30  * @library  ../lib
    30  * @library  ../lib
    31  * @modules jdk.javadoc/jdk.javadoc.internal.tool
    31  * @modules jdk.javadoc/jdk.javadoc.internal.tool
    32  * @build    JavadocTester
    32  * @build    JavadocTester
   104                 + "    background-color:#F8981D;\n"
   104                 + "    background-color:#F8981D;\n"
   105                 + "    border: none;\n"
   105                 + "    border: none;\n"
   106                 + "    height:16px;\n"
   106                 + "    height:16px;\n"
   107                 + "}",
   107                 + "}",
   108                 ".memberSummary caption span.activeTableTab span, .packagesSummary caption span.activeTableTab span,\n"
   108                 ".memberSummary caption span.activeTableTab span, .packagesSummary caption span.activeTableTab span,\n"
   109                 + ".overviewSummary caption span.activeTableTab span {\n"
   109                 + ".overviewSummary caption span.activeTableTab span, .typeSummary caption span.activeTableTab span {\n"
   110                 + "    white-space:nowrap;\n"
   110                 + "    white-space:nowrap;\n"
   111                 + "    padding-top:5px;\n"
   111                 + "    padding-top:5px;\n"
   112                 + "    padding-left:12px;\n"
   112                 + "    padding-left:12px;\n"
   113                 + "    padding-right:12px;\n"
   113                 + "    padding-right:12px;\n"
   114                 + "    margin-right:3px;\n"
   114                 + "    margin-right:3px;\n"
   116                 + "    float:left;\n"
   116                 + "    float:left;\n"
   117                 + "    background-color:#F8981D;\n"
   117                 + "    background-color:#F8981D;\n"
   118                 + "    height:16px;\n"
   118                 + "    height:16px;\n"
   119                 + "}",
   119                 + "}",
   120                 ".memberSummary caption span.tableTab span, .packagesSummary caption span.tableTab span,\n"
   120                 ".memberSummary caption span.tableTab span, .packagesSummary caption span.tableTab span,\n"
   121                 + ".overviewSummary caption span.tableTab span {\n"
   121                 + ".overviewSummary caption span.tableTab span, .typeSummary caption span.tableTab span {\n"
   122                 + "    white-space:nowrap;\n"
   122                 + "    white-space:nowrap;\n"
   123                 + "    padding-top:5px;\n"
   123                 + "    padding-top:5px;\n"
   124                 + "    padding-left:12px;\n"
   124                 + "    padding-left:12px;\n"
   125                 + "    padding-right:12px;\n"
   125                 + "    padding-right:12px;\n"
   126                 + "    margin-right:3px;\n"
   126                 + "    margin-right:3px;\n"
   135                 + ".packagesSummary td.colFirst, .packagesSummary td.colSecond, .packagesSummary th.colFirst, .packagesSummary th,\n"
   135                 + ".packagesSummary td.colFirst, .packagesSummary td.colSecond, .packagesSummary th.colFirst, .packagesSummary th,\n"
   136                 + ".usesSummary td.colFirst, .usesSummary th.colFirst,\n"
   136                 + ".usesSummary td.colFirst, .usesSummary th.colFirst,\n"
   137                 + ".providesSummary td.colFirst, .providesSummary th.colFirst,\n"
   137                 + ".providesSummary td.colFirst, .providesSummary th.colFirst,\n"
   138                 + ".memberSummary td.colFirst, .memberSummary th.colFirst,\n"
   138                 + ".memberSummary td.colFirst, .memberSummary th.colFirst,\n"
   139                 + ".memberSummary td.colSecond, .memberSummary th.colSecond, .memberSummary th.colConstructorName,\n"
   139                 + ".memberSummary td.colSecond, .memberSummary th.colSecond, .memberSummary th.colConstructorName,\n"
   140                 + ".typeSummary td.colFirst {\n"
   140                 + ".typeSummary td.colFirst, .typeSummary th.colFirst {\n"
   141                 + "    vertical-align:top;\n"
   141                 + "    vertical-align:top;\n"
   142                 + "}",
   142                 + "}",
   143                 ".overviewSummary td, .memberSummary td, .typeSummary td,\n"
   143                 ".overviewSummary td, .memberSummary td, .typeSummary td,\n"
   144                 + ".useSummary td, .constantsSummary td, .deprecatedSummary td,\n"
   144                 + ".useSummary td, .constantsSummary td, .deprecatedSummary td,\n"
   145                 + ".requiresSummary td, .packagesSummary td, .providesSummary td, .usesSummary td {\n"
   145                 + ".requiresSummary td, .packagesSummary td, .providesSummary td, .usesSummary td {\n"
   146                 + "    text-align:left;\n"
   146                 + "    text-align:left;\n"
   147                 + "    padding:0px 0px 12px 10px;\n"
   147                 + "    padding:0px 0px 12px 10px;\n"
   148                 + "}",
   148                 + "}",
   149                 ".memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab,\n"
   149                 ".memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab,\n"
   150                 + ".packagesSummary caption span.tableTab, .packagesSummary caption span.activeTableTab,\n"
   150                 + ".packagesSummary caption span.tableTab, .packagesSummary caption span.activeTableTab,\n"
   151                 + ".overviewSummary caption span.tableTab, .overviewSummary caption span.activeTableTab {\n"
   151                 + ".overviewSummary caption span.tableTab, .overviewSummary caption span.activeTableTab,\n"
       
   152                 + ".typeSummary caption span.tableTab, .typeSummary caption span.activeTableTab {\n"
   152                 + "    padding-top:0px;\n"
   153                 + "    padding-top:0px;\n"
   153                 + "    padding-left:0px;\n"
   154                 + "    padding-left:0px;\n"
   154                 + "    padding-right:0px;\n"
   155                 + "    padding-right:0px;\n"
   155                 + "    background-image:none;\n"
   156                 + "    background-image:none;\n"
   156                 + "    float:none;\n"
   157                 + "    float:none;\n"
   178                 + "td.colSecond a:link, td.colSecond a:visited,\n"
   179                 + "td.colSecond a:link, td.colSecond a:visited,\n"
   179                 + "th.colFirst a:link, th.colFirst a:visited,\n"
   180                 + "th.colFirst a:link, th.colFirst a:visited,\n"
   180                 + "th.colSecond a:link, th.colSecond a:visited,\n"
   181                 + "th.colSecond a:link, th.colSecond a:visited,\n"
   181                 + "th.colConstructorName a:link, th.colConstructorName a:visited,\n"
   182                 + "th.colConstructorName a:link, th.colConstructorName a:visited,\n"
   182                 + "th.colDeprecatedItemName a:link, th.colDeprecatedItemName a:visited, \n"
   183                 + "th.colDeprecatedItemName a:link, th.colDeprecatedItemName a:visited, \n"
   183                 + ".constantValuesContainer td a:link, .constantValuesContainer td a:visited {\n"
   184                 + ".constantValuesContainer td a:link, .constantValuesContainer td a:visited, \n"
       
   185                 + ".allClassesContainer td a:link, .allClassesContainer td a:visited, \n"
       
   186                 + ".allPackagesContainer td a:link, .allPackagesContainer td a:visited {\n"
   184                 + "    font-weight:bold;\n"
   187                 + "    font-weight:bold;\n"
   185                 + "}",
   188                 + "}",
   186                 ".deprecationBlock {\n"
   189                 ".deprecationBlock {\n"
   187                 + "    font-size:14px;\n"
   190                 + "    font-size:14px;\n"
   188                 + "    font-family:'DejaVu Serif', Georgia, \"Times New Roman\", Times, serif;\n"
   191                 + "    font-family:'DejaVu Serif', Georgia, \"Times New Roman\", Times, serif;\n"