mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
8081854: Javadoc should generate named anchors for HTML4 output
Reviewed-by: ksrini
This commit is contained in:
parent
63b337e82e
commit
9075df539a
15 changed files with 155 additions and 149 deletions
|
@ -23,7 +23,7 @@
|
|||
|
||||
/*
|
||||
* @test
|
||||
* @bug 4663254 8016328 8025633 8026567
|
||||
* @bug 4663254 8016328 8025633 8026567 8081854
|
||||
* @summary Verify that spaces do not appear in hrefs and anchors.
|
||||
* @author jamieh
|
||||
* @library ../lib
|
||||
|
@ -54,11 +54,11 @@ public class TestHref extends JavadocTester {
|
|||
//Member summary table link.
|
||||
"href=\"../pkg/C1.html#method-int-int-java.util.ArrayList-\"",
|
||||
//Anchor test.
|
||||
"<a id=\"method-int-int-java.util.ArrayList-\">\n"
|
||||
"<a name=\"method-int-int-java.util.ArrayList-\">\n"
|
||||
+ "<!-- -->\n"
|
||||
+ "</a>",
|
||||
//Backward compatibility anchor test."pkg/C1.html",
|
||||
"<a id=\"method-int-int-java.util.ArrayList-\">\n"
|
||||
"<a name=\"method-int-int-java.util.ArrayList-\">\n"
|
||||
+ "<!-- -->\n"
|
||||
+ "</a>");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue