mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
8007338: Method grouping tab line-folding
Reviewed-by: jjg
This commit is contained in:
parent
eedcd5d290
commit
561009c4ac
2 changed files with 32 additions and 15 deletions
|
@ -371,6 +371,7 @@ Table styles
|
||||||
overflow:hidden;
|
overflow:hidden;
|
||||||
padding:0px;
|
padding:0px;
|
||||||
margin:0px;
|
margin:0px;
|
||||||
|
white-space:pre;
|
||||||
}
|
}
|
||||||
caption a:link, caption a:hover, caption a:active, caption a:visited {
|
caption a:link, caption a:hover, caption a:active, caption a:visited {
|
||||||
color:#FFFFFF;
|
color:#FFFFFF;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
* @bug 4494033 7028815 7052425
|
* @bug 4494033 7028815 7052425 8007338
|
||||||
* @summary Run tests on doclet stylesheet.
|
* @summary Run tests on doclet stylesheet.
|
||||||
* @author jamieh
|
* @author jamieh
|
||||||
* @library ../lib/
|
* @library ../lib/
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
public class TestStylesheet extends JavadocTester {
|
public class TestStylesheet extends JavadocTester {
|
||||||
|
|
||||||
//Test information.
|
//Test information.
|
||||||
private static final String BUG_ID = "4494033-7028815-7052425";
|
private static final String BUG_ID = "4494033-7028815-7052425-8007338";
|
||||||
|
|
||||||
//Javadoc arguments.
|
//Javadoc arguments.
|
||||||
private static final String[] ARGS = new String[] {
|
private static final String[] ARGS = new String[] {
|
||||||
|
@ -44,29 +44,45 @@ public class TestStylesheet extends JavadocTester {
|
||||||
//Input for string search tests.
|
//Input for string search tests.
|
||||||
private static final String[][] TEST = {
|
private static final String[][] TEST = {
|
||||||
{BUG_ID + FS + "stylesheet.css",
|
{BUG_ID + FS + "stylesheet.css",
|
||||||
"/* Javadoc style sheet */"},
|
"/* Javadoc style sheet */"},
|
||||||
{BUG_ID + FS + "stylesheet.css",
|
{BUG_ID + FS + "stylesheet.css",
|
||||||
"/*" + NL + "Overall document style" + NL + "*/"},
|
"/*" + NL + "Overall document style" + NL + "*/"},
|
||||||
{BUG_ID + FS + "stylesheet.css",
|
{BUG_ID + FS + "stylesheet.css",
|
||||||
"/*" + NL + "Heading styles" + NL + "*/"},
|
"/*" + NL + "Heading styles" + NL + "*/"},
|
||||||
{BUG_ID + FS + "stylesheet.css",
|
{BUG_ID + FS + "stylesheet.css",
|
||||||
"/*" + NL + "Navigation bar styles" + NL + "*/"},
|
"/*" + NL + "Navigation bar styles" + NL + "*/"},
|
||||||
{BUG_ID + FS + "stylesheet.css",
|
{BUG_ID + FS + "stylesheet.css",
|
||||||
"body {" + NL + " background-color:#ffffff;" + NL +
|
"body {" + NL + " background-color:#ffffff;" + NL +
|
||||||
" color:#353833;" + NL +
|
" color:#353833;" + NL +
|
||||||
" font-family:Arial, Helvetica, sans-serif;" + NL +
|
" font-family:Arial, Helvetica, sans-serif;" + NL +
|
||||||
" font-size:76%;" + NL + " margin:0;" + NL + "}"},
|
" font-size:76%;" + NL + " margin:0;" + NL + "}"},
|
||||||
{BUG_ID + FS + "stylesheet.css",
|
{BUG_ID + FS + "stylesheet.css",
|
||||||
"ul {" + NL + " list-style-type:disc;" + NL + "}"},
|
"ul {" + NL + " list-style-type:disc;" + NL + "}"},
|
||||||
|
{BUG_ID + FS + "stylesheet.css",
|
||||||
|
".overviewSummary caption, .packageSummary caption, " +
|
||||||
|
".contentContainer ul.blockList li.blockList caption, " +
|
||||||
|
".summary caption, .classUseContainer caption, " +
|
||||||
|
".constantValuesContainer caption {" + NL +
|
||||||
|
" position:relative;" + NL +
|
||||||
|
" text-align:left;" + NL +
|
||||||
|
" background-repeat:no-repeat;" + NL +
|
||||||
|
" color:#FFFFFF;" + NL +
|
||||||
|
" font-weight:bold;" + NL +
|
||||||
|
" clear:none;" + NL +
|
||||||
|
" overflow:hidden;" + NL +
|
||||||
|
" padding:0px;" + NL +
|
||||||
|
" margin:0px;" + NL +
|
||||||
|
" white-space:pre;" + NL +
|
||||||
|
"}"},
|
||||||
// Test whether a link to the stylesheet file is inserted properly
|
// Test whether a link to the stylesheet file is inserted properly
|
||||||
// in the class documentation.
|
// in the class documentation.
|
||||||
{BUG_ID + FS + "pkg" + FS + "A.html",
|
{BUG_ID + FS + "pkg" + FS + "A.html",
|
||||||
"<link rel=\"stylesheet\" type=\"text/css\" " +
|
"<link rel=\"stylesheet\" type=\"text/css\" " +
|
||||||
"href=\"../stylesheet.css\" title=\"Style\">"}
|
"href=\"../stylesheet.css\" title=\"Style\">"}
|
||||||
};
|
};
|
||||||
private static final String[][] NEGATED_TEST = {
|
private static final String[][] NEGATED_TEST = {
|
||||||
{BUG_ID + FS + "stylesheet.css",
|
{BUG_ID + FS + "stylesheet.css",
|
||||||
"* {" + NL + " margin:0;" + NL + " padding:0;" + NL + "}"}
|
"* {" + NL + " margin:0;" + NL + " padding:0;" + NL + "}"}
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue