8023608: method grouping tabs folding issue

Reviewed-by: jjg
This commit is contained in:
Bhavesh Patel 2013-09-05 16:35:47 -07:00
parent 4bf1e0d989
commit 9c6d420370
2 changed files with 45 additions and 10 deletions

View File

@ -378,7 +378,6 @@ Table styles
overflow:hidden;
padding:0px;
margin:0px;
white-space:pre;
}
caption a:link, caption a:hover, caption a:active, caption a:visited {
color:#FFFFFF;
@ -387,35 +386,32 @@ caption a:link, caption a:hover, caption a:active, caption a:visited {
white-space:nowrap;
padding-top:8px;
padding-left:8px;
display:block;
display:inline-block;
float:left;
background-image:url(resources/titlebar.gif);
height:18px;
}
.contentContainer ul.blockList li.blockList caption span.activeTableTab span {
white-space:nowrap;
padding-top:8px;
padding-left:8px;
display:block;
display:inline-block;
float:left;
background-image:url(resources/activetitlebar.gif);
height:18px;
}
.contentContainer ul.blockList li.blockList caption span.tableTab span {
white-space:nowrap;
padding-top:8px;
padding-left:8px;
display:block;
display:inline-block;
float:left;
background-image:url(resources/titlebar.gif);
height:18px;
}
.contentContainer ul.blockList li.blockList caption span.tableTab, .contentContainer ul.blockList li.blockList caption span.activeTableTab {
padding-top:0px;
padding-left:0px;
background-image:none;
float:none;
display:inline;
display:inline-block;
}
.overviewSummary .tabEnd, .packageSummary .tabEnd, .contentContainer ul.blockList li.blockList .tabEnd, .summary .tabEnd, .classUseContainer .tabEnd, .constantValuesContainer .tabEnd {
width:10px;

View File

@ -23,7 +23,7 @@
/*
* @test
* @bug 4494033 7028815 7052425 8007338
* @bug 4494033 7028815 7052425 8007338 8023608
* @summary Run tests on doclet stylesheet.
* @author jamieh
* @library ../lib/
@ -72,7 +72,46 @@ public class TestStylesheet extends JavadocTester {
" overflow:hidden;" + NL +
" padding:0px;" + NL +
" margin:0px;" + NL +
" white-space:pre;" + NL +
"}"},
{BUG_ID + FS + "stylesheet.css",
".overviewSummary caption span, .packageSummary caption span, " +
".contentContainer ul.blockList li.blockList caption span, " +
".summary caption span, .classUseContainer caption span, " +
".constantValuesContainer caption span {" + NL +
" white-space:nowrap;" + NL +
" padding-top:8px;" + NL +
" padding-left:8px;" + NL +
" display:inline-block;" + NL +
" float:left;" + NL +
" background-image:url(resources/titlebar.gif);" + NL +
"}"},
{BUG_ID + FS + "stylesheet.css",
".contentContainer ul.blockList li.blockList caption " +
"span.activeTableTab span {" + NL +
" white-space:nowrap;" + NL +
" padding-top:8px;" + NL +
" padding-left:8px;" + NL +
" display:inline-block;" + NL +
" float:left;" + NL +
" background-image:url(resources/activetitlebar.gif);" + NL +
"}"},
{BUG_ID + FS + "stylesheet.css",
".contentContainer ul.blockList li.blockList caption span.tableTab span {" + NL +
" white-space:nowrap;" + NL +
" padding-top:8px;" + NL +
" padding-left:8px;" + NL +
" display:inline-block;" + NL +
" float:left;" + NL +
" background-image:url(resources/titlebar.gif);" + NL +
"}"},
{BUG_ID + FS + "stylesheet.css",
".contentContainer ul.blockList li.blockList caption span.tableTab, " +
".contentContainer ul.blockList li.blockList caption span.activeTableTab {" + NL +
" padding-top:0px;" + NL +
" padding-left:0px;" + NL +
" background-image:none;" + NL +
" float:none;" + NL +
" display:inline-block;" + NL +
"}"},
// Test whether a link to the stylesheet file is inserted properly
// in the class documentation.