Skip to content

Commit ee87131

Browse files
committed
Further HTML5 cleanups
Part of #3275
1 parent f3e4494 commit ee87131

31 files changed

Lines changed: 1242 additions & 1291 deletions

eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/book.css

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,19 @@ span.c3 {
2020
}
2121
span.c2 {
2222
color: #4444CC
23+
}
24+
25+
table.border {
26+
border: 1px solid;
27+
border-collapse: collapse;
28+
}
29+
table.border th,
30+
table.border td {
31+
border: 1px solid;
32+
}
33+
34+
table.edged, tr, th, td {
35+
border: 1px solid;
36+
border-collapse: separate;
37+
border-style: inset;
2338
}

eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api.htm

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
1+
<!DOCTYPE HTML>
22
<html lang="en">
33
<head>
44
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2005. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
5-
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
6-
<meta http-equiv="Content-Style-Type" content="text/css">
7-
<link rel="STYLESHEET" href="../book.css" charset="ISO-8859-1" type="text/css">
5+
<meta charset="utf-8">
6+
<link rel="STYLESHEET" href="../book.css" type="text/css">
87
<title>JDT structure and API</title>
98
<link rel="stylesheet" type="text/css" href="../book.css">
109
</head>

eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_classpath.htm

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3-
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
1+
<!DOCTYPE HTML>
2+
<html lang="en">
43
<head>
54
<meta name="copyright" content=
65
"Copyright (c) IBM Corporation and others 2000, 2011. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." />
7-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8-
<meta http-equiv="Content-Style-Type" content="text/css" />
9-
<link rel="STYLESHEET" href="../book.css" charset="ISO-8859-1" type="text/css" />
6+
<meta charset="utf-8">
7+
<link rel="STYLESHEET" href="../book.css" type="text/css" />
108
<title>Setting the Java build path</title>
119
<link rel="stylesheet" type="text/css" href="../book.css" />
1210
</head>
@@ -31,7 +29,7 @@ <h2>Setting the Java Build Path</h2>
3129

3230
<h3>Changing the Build Path</h3>
3331
<p>You can programmatically change a project's build path using <b><a href=
34-
"../reference/api/org/eclipse/jdt/core/IJavaProject.html#setRawClasspath(org.eclipse.jdt.core.IClasspathEntry[],%20org.eclipse.core.runtime.IProgressMonitor)">
32+
"../reference/api/org/eclipse/jdt/core/IJavaProject.html#setRawClasspath(org.eclipse.jdt.core.IClasspathEntry%5B%5D,%20org.eclipse.core.runtime.IProgressMonitor)">
3533
setRawClasspath</a></b> on the corresponding project's Java element.&nbsp; The following code sets
3634
the classpath for a project resource:</p>
3735
<pre class="color1">
@@ -172,7 +170,7 @@ <h3>Classpath Entries</h3>
172170
<b><a href=
173171
"../reference/api/org/eclipse/jdt/core/JavaCore.html#getClasspathContainer(org.eclipse.core.runtime.IPath,%20org.eclipse.jdt.core.IJavaProject)">
174172
getClasspathContainer</a></b> and <b><a href=
175-
"../reference/api/org/eclipse/jdt/core/JavaCore.html#setClasspathContainer(org.eclipse.core.runtime.IPath,%20org.eclipse.jdt.core.IJavaProject[],%20org.eclipse.jdt.core.IClasspathContainer[],%20org.eclipse.core.runtime.IProgressMonitor)">
173+
"../reference/api/org/eclipse/jdt/core/JavaCore.html#setClasspathContainer(org.eclipse.core.runtime.IPath,%20org.eclipse.jdt.core.IJavaProject%5B%5D,%20org.eclipse.jdt.core.IClasspathContainer%5B%5D,%20org.eclipse.core.runtime.IProgressMonitor)">
176174
setClasspathContainer</a></b>.&nbsp;
177175
<p>It is possible to register an automatic <b><a href=
178176
"../reference/api/org/eclipse/jdt/core/ClasspathContainerInitializer.html">classpath container
@@ -271,7 +269,7 @@ <h2>Classpath Resolution</h2>
271269
Since classpath variables and containers allow you to define dynamically bound classpath entries,
272270
the classpath API distinguishes between a raw and a resolved classpath.&nbsp;&nbsp; The raw
273271
classpath is the one originally set on the Java project using <b><a href=
274-
"../reference/api/org/eclipse/jdt/core/IJavaProject.html#setRawClasspath(org.eclipse.jdt.core.IClasspathEntry[],%20org.eclipse.core.runtime.IProgressMonitor)">
272+
"../reference/api/org/eclipse/jdt/core/IJavaProject.html#setRawClasspath(org.eclipse.jdt.core.IClasspathEntry%5B%5D,%20org.eclipse.core.runtime.IProgressMonitor)">
275273

276274
setRawClasspath</a></b>, and can be further queried by asking the project for <b><a href=
277275
"../reference/api/org/eclipse/jdt/core/IJavaProject.html#getRawClasspath()">getRawClasspath</a></b>.&nbsp;

eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_codeassist.htm

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
1+
<!DOCTYPE HTML>
32
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
43
<head>
54
<meta name="copyright" content=
65
"Copyright (c) IBM Corporation and others 2000, 2011. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." />
7-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8-
<meta http-equiv="Content-Style-Type" content="text/css" />
9-
<link rel="STYLESHEET" href="../book.css" charset="ISO-8859-1" type="text/css" />
6+
<meta charset="utf-8">
7+
<link rel="STYLESHEET" href="../book.css" type="text/css" />
108
<title>Performing code assist on Java code</title>
119
<link rel="stylesheet" type="text/css" href="../book.css" />
1210
</head>

eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_codeformatter.htm

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
1-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3-
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
1+
<!DOCTYPE HTML>
2+
<html lang="en">
43
<head>
54
<meta name="copyright" content=
65
"Copyright (c) IBM Corporation and others 2000, 2017. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." />
76
<meta http-equiv="Content-Type" content=
87
"text/html; charset=utf-8" />
9-
<meta http-equiv="Content-Style-Type" content="text/css" />
10-
<link rel="STYLESHEET" href="../book.css" charset="ISO-8859-1"
11-
type="text/css" />
8+
<link rel="STYLESHEET" href="../book.css" type="text/css" />
129
<title>
1310
Using the code formatter
1411
</title>
@@ -252,7 +249,7 @@ <h3>
252249
code formatter</a></b> allows to format a set of regions of a
253250
given source file.<br />
254251
This can be achieved by calling the <b><a href=
255-
"../reference/api/org/eclipse/jdt/core/formatter/CodeFormatter.html#format(int,%20java.lang.String,%20org.eclipse.jface.text.IRegion[],%20int,%20java.lang.String)">
252+
"../reference/api/org/eclipse/jdt/core/formatter/CodeFormatter.html#format(int,%20java.lang.String,%20org.eclipse.jface.text.IRegion%5B%5D,%20int,%20java.lang.String)">
256253
format(int, String, IRegion[], int, String)</a></b> method of
257254
the code formatter, with a given <b><a href=
258255
"../reference/api/org/eclipse/jdt/core/formatter/CodeFormatter.html#K_UNKNOWN">
@@ -294,7 +291,7 @@ <h3>
294291
"../reference/api/org/eclipse/jdt/core/formatter/CodeFormatter.html#format(int,%20java.lang.String,%20int,%20int,%20int,%20java.lang.String)">
295292
format(int, String, int, int, int, String)</a></b> or
296293
<b><a href=
297-
"../reference/api/org/eclipse/jdt/core/formatter/CodeFormatter.html#format(int,%20java.lang.String,%20org.eclipse.jface.text.IRegion[],%20int,%20java.lang.String)">
294+
"../reference/api/org/eclipse/jdt/core/formatter/CodeFormatter.html#format(int,%20java.lang.String,%20org.eclipse.jface.text.IRegion%5B%5D,%20int,%20java.lang.String)">
298295

299296
format(int, String, IRegion[], int, String)</a></b> methods:
300297
</p>

eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_compile.htm

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3-
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
1+
<!DOCTYPE HTML>
2+
<html lang="en">
43
<head>
54
<meta name="copyright" content=
65
"Copyright (c) IBM Corporation and others 2000, 2011. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." />
7-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8-
<meta http-equiv="Content-Style-Type" content="text/css" />
9-
<link rel="STYLESHEET" href="../book.css" charset="ISO-8859-1" type="text/css" />
6+
<meta charset="utf-8">
7+
<link rel="STYLESHEET" href="../book.css" type="text/css" />
108
<title>Compiling Java code</title>
119
<link rel="stylesheet" type="text/css" href="../book.css" />
1210
</head>

eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_contributing_a_cleanup.htm

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3-
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
1+
<!DOCTYPE HTML>
2+
<html lang="en">
43
<head>
54
<meta name="copyright" content=
65
"Copyright (c) IBM Corporation and others 2009, 2011. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." />
7-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8-
<meta http-equiv="Content-Style-Type" content="text/css" />
9-
<link rel="STYLESHEET" href="../book.css" charset="ISO-8859-1" type="text/css" />
6+
<meta charset="utf-8">
7+
<link rel="STYLESHEET" href="../book.css" type="text/css" />
108
<title>Contributing a simple clean up and a simple save action using the
119
org.eclipse.jdt.ui.cleanUps extension point</title>
1210

eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_contributing_a_quickfix.htm

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3-
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
1+
<!DOCTYPE HTML>
2+
<html lang="en">
43
<head>
54
<meta name="copyright" content=
65
"Copyright (c) IBM Corporation and others 2012. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." />
7-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8-
<meta http-equiv="Content-Style-Type" content="text/css" />
9-
<link rel="STYLESHEET" href="../book.css" charset="ISO-8859-1" type="text/css" />
6+
<meta charset="utf-8">
7+
<link rel="STYLESHEET" href="../book.css" type="text/css" />
108
<title>Contributing a quick fix and a quick assist for Java code</title>
119

1210
</head>

eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_editors.htm

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
1+
<!DOCTYPE HTML>
22
<html lang="en">
33
<head>
44
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2007. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
5-
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
6-
<meta http-equiv="Content-Style-Type" content="text/css">
7-
<link rel="STYLESHEET" href="../book.css" charset="ISO-8859-1" type="text/css">
5+
<meta charset="utf-8">
6+
<link rel="STYLESHEET" href="../book.css" type="text/css">
87
<title>Customizing Java editors</title>
98
<link rel="stylesheet" type="text/css" href="../book.css">
109
</head>

eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_junit.htm

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
1+
<!DOCTYPE HTML>
22
<html lang="en">
33
<head>
44
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2005. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
55
<!-- Benjamin Muskalla <b.muskalla@gmx.net> - Typo in JUnit ISV doc - https://bugs.eclipse.org/bugs/show_bug.cgi?id=248935 -->
66

7-
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
8-
<meta http-equiv="Content-Style-Type" content="text/css">
9-
<link rel="STYLESHEET" href="../book.css" charset="ISO-8859-1" type="text/css">
7+
<meta charset="utf-8">
108
<title>Observing JUnit test runs</title>
119
<link rel="stylesheet" type="text/css" href="../book.css">
1210
</head>

0 commit comments

Comments
 (0)