提交 e6213cb7 编写于 作者: I igerasim

8072461: Table's field width in "Use" page generated by javadoc with '-s' is unbalanced

Reviewed-by: jjg
上级 5a1d3f2a
......@@ -463,7 +463,6 @@ Table styles
.useSummary td, .constantsSummary td, .deprecatedSummary td {
text-align:left;
padding:0px 0px 12px 10px;
width:100%;
}
th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th,
td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{
......@@ -488,6 +487,7 @@ td.colOne, th.colOne {
font-size:13px;
}
.overviewSummary td.colFirst, .overviewSummary th.colFirst,
.useSummary td.colFirst, .useSummary th.colFirst,
.overviewSummary td.colOne, .overviewSummary th.colOne,
.memberSummary td.colFirst, .memberSummary th.colFirst,
.memberSummary td.colOne, .memberSummary th.colOne,
......
/*
* Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -23,7 +23,7 @@
/*
* @test
* @bug 4494033 7028815 7052425 8007338 8023608 8008164 8016549
* @bug 4494033 7028815 7052425 8007338 8023608 8008164 8016549 8072461
* @summary Run tests on doclet stylesheet.
* @author jamieh
* @library ../lib/
......@@ -34,7 +34,7 @@
public class TestStylesheet extends JavadocTester {
//Test information.
private static final String BUG_ID = "4494033-7028815-7052425-8007338";
private static final String BUG_ID = "4494033-7028815-7052425-8007338-8072461";
//Javadoc arguments.
private static final String[] ARGS = new String[] {
......@@ -123,6 +123,23 @@ public class TestStylesheet extends JavadocTester {
"}"},
{BUG_ID + FS + "stylesheet.css",
"@import url('resources/fonts/dejavu.css');"},
// Test the formatting styles for proper content display in use and constant values pages.
{BUG_ID + FS + "stylesheet.css",
".overviewSummary td.colFirst, .overviewSummary th.colFirst," + NL +
".useSummary td.colFirst, .useSummary th.colFirst," + NL +
".overviewSummary td.colOne, .overviewSummary th.colOne," + NL +
".memberSummary td.colFirst, .memberSummary th.colFirst," + NL +
".memberSummary td.colOne, .memberSummary th.colOne," + NL +
".typeSummary td.colFirst{" + NL +
" width:25%;" + NL +
" vertical-align:top;" + NL +
"}"},
{BUG_ID + FS + "stylesheet.css",
".overviewSummary td, .memberSummary td, .typeSummary td," + NL +
".useSummary td, .constantsSummary td, .deprecatedSummary td {" + NL +
" text-align:left;" + NL +
" padding:0px 0px 12px 10px;" + NL +
"}"},
// Test whether a link to the stylesheet file is inserted properly
// in the class documentation.
{BUG_ID + FS + "pkg" + FS + "A.html",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册