langtools/test/jdk/javadoc/doclet/testStylesheet/TestStylesheet.java
changeset 39670 9d1eafbf29c6
parent 36526 3b41f1c69604
child 41157 b235a429089a
equal deleted inserted replaced
39601:5b37e511ae4b 39670:9d1eafbf29c6
    21  * questions.
    21  * questions.
    22  */
    22  */
    23 
    23 
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @bug      4494033 7028815 7052425 8007338 8023608 8008164 8016549 8072461
    26  * @bug      4494033 7028815 7052425 8007338 8023608 8008164 8016549 8072461 8154261
    27  * @summary  Run tests on doclet stylesheet.
    27  * @summary  Run tests on doclet stylesheet.
    28  * @author   jamieh
    28  * @author   jamieh
    29  * @library  ../lib
    29  * @library  ../lib
    30  * @modules jdk.javadoc/jdk.javadoc.internal.tool
    30  * @modules jdk.javadoc/jdk.javadoc.internal.tool
    31  * @build    JavadocTester
    31  * @build    JavadocTester
    79                 + "}",
    79                 + "}",
    80                 "ul {\n"
    80                 "ul {\n"
    81                 + "    list-style-type:disc;\n"
    81                 + "    list-style-type:disc;\n"
    82                 + "}",
    82                 + "}",
    83                 ".overviewSummary caption, .memberSummary caption, .typeSummary caption,\n"
    83                 ".overviewSummary caption, .memberSummary caption, .typeSummary caption,\n"
    84                 + ".useSummary caption, .constantsSummary caption, .deprecatedSummary caption {\n"
    84                 + ".useSummary caption, .constantsSummary caption, .deprecatedSummary caption,\n"
       
    85                 + ".requiresSummary caption, .packagesSummary caption, .providesSummary caption, .usesSummary caption {\n"
    85                 + "    position:relative;\n"
    86                 + "    position:relative;\n"
    86                 + "    text-align:left;\n"
    87                 + "    text-align:left;\n"
    87                 + "    background-repeat:no-repeat;\n"
    88                 + "    background-repeat:no-repeat;\n"
    88                 + "    color:#253441;\n"
    89                 + "    color:#253441;\n"
    89                 + "    font-weight:bold;\n"
    90                 + "    font-weight:bold;\n"
    94                 + "    padding-left:1px;\n"
    95                 + "    padding-left:1px;\n"
    95                 + "    margin:0px;\n"
    96                 + "    margin:0px;\n"
    96                 + "    white-space:pre;\n"
    97                 + "    white-space:pre;\n"
    97                 + "}",
    98                 + "}",
    98                 ".overviewSummary caption span, .memberSummary caption span, .typeSummary caption span,\n"
    99                 ".overviewSummary caption span, .memberSummary caption span, .typeSummary caption span,\n"
    99                 + ".useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span {\n"
   100                 + ".useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span,\n"
       
   101                 + ".requiresSummary caption span, .packagesSummary caption span, .providesSummary caption span,\n"
       
   102                 + ".usesSummary caption span {\n"
   100                 + "    white-space:nowrap;\n"
   103                 + "    white-space:nowrap;\n"
   101                 + "    padding-top:5px;\n"
   104                 + "    padding-top:5px;\n"
   102                 + "    padding-left:12px;\n"
   105                 + "    padding-left:12px;\n"
   103                 + "    padding-right:12px;\n"
   106                 + "    padding-right:12px;\n"
   104                 + "    padding-bottom:7px;\n"
   107                 + "    padding-bottom:7px;\n"
   130                 + "    background-color:#4D7A97;\n"
   133                 + "    background-color:#4D7A97;\n"
   131                 + "    height:16px;\n"
   134                 + "    height:16px;\n"
   132                 + "}",
   135                 + "}",
   133                 // Test the formatting styles for proper content display in use and constant values pages.
   136                 // Test the formatting styles for proper content display in use and constant values pages.
   134                 ".overviewSummary td.colFirst, .overviewSummary th.colFirst,\n"
   137                 ".overviewSummary td.colFirst, .overviewSummary th.colFirst,\n"
       
   138                 + ".requiresSummary td.colFirst, .requiresSummary th.colFirst,\n"
       
   139                 + ".packagesSummary td.colFirst, .packagesSummary td.colSecond, .packagesSummary th.colFirst, .packagesSummary th,\n"
       
   140                 + ".usesSummary td.colFirst, .usesSummary th.colFirst,\n"
   135                 + ".useSummary td.colFirst, .useSummary th.colFirst,\n"
   141                 + ".useSummary td.colFirst, .useSummary th.colFirst,\n"
   136                 + ".overviewSummary td.colOne, .overviewSummary th.colOne,\n"
   142                 + ".overviewSummary td.colOne, .overviewSummary th.colOne,\n"
   137                 + ".memberSummary td.colFirst, .memberSummary th.colFirst,\n"
   143                 + ".memberSummary td.colFirst, .memberSummary th.colFirst,\n"
   138                 + ".memberSummary td.colOne, .memberSummary th.colOne,\n"
   144                 + ".memberSummary td.colOne, .memberSummary th.colOne,\n"
   139                 + ".typeSummary td.colFirst{\n"
   145                 + ".typeSummary td.colFirst{\n"
   140                 + "    width:25%;\n"
   146                 + "    width:25%;\n"
   141                 + "    vertical-align:top;\n"
   147                 + "    vertical-align:top;\n"
   142                 + "}",
   148                 + "}",
   143                 ".overviewSummary td, .memberSummary td, .typeSummary td,\n"
   149                 ".overviewSummary td, .memberSummary td, .typeSummary td,\n"
   144                 + ".useSummary td, .constantsSummary td, .deprecatedSummary td {\n"
   150                 + ".useSummary td, .constantsSummary td, .deprecatedSummary td,\n"
       
   151                 + ".requiresSummary td, .packagesSummary td, .providesSummary td, .usesSummary td {\n"
   145                 + "    text-align:left;\n"
   152                 + "    text-align:left;\n"
   146                 + "    padding:0px 0px 12px 10px;\n"
   153                 + "    padding:0px 0px 12px 10px;\n"
   147                 + "}",
   154                 + "}",
   148                 ".memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab {\n"
   155                 ".memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab {\n"
   149                 + "    padding-top:0px;\n"
   156                 + "    padding-top:0px;\n"