Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_langtools
提交
e6213cb7
D
dragonwell8_langtools
项目概览
openanolis
/
dragonwell8_langtools
通知
0
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_langtools
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
e6213cb7
编写于
3月 13, 2015
作者:
I
igerasim
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8072461: Table's field width in "Use" page generated by javadoc with '-s' is unbalanced
Reviewed-by: jjg
上级
5a1d3f2a
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
21 addition
and
4 deletion
+21
-4
src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/stylesheet.css
...n/tools/doclets/internal/toolkit/resources/stylesheet.css
+1
-1
test/com/sun/javadoc/testStylesheet/TestStylesheet.java
test/com/sun/javadoc/testStylesheet/TestStylesheet.java
+20
-3
未找到文件。
src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/stylesheet.css
浏览文件 @
e6213cb7
...
...
@@ -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
,
...
...
test/com/sun/javadoc/testStylesheet/TestStylesheet.java
浏览文件 @
e6213cb7
/*
* Copyright (c) 2005, 201
3
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2005, 201
5
, 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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录