RFR: 8209914: javadoc search sometimes generates bad URIs
Hannes Wallnöfer
hannes.wallnoefer at oracle.com
Wed Sep 5 07:55:14 UTC 2018
Please review:
Issue: https://bugs.openjdk.java.net/browse/JDK-8209914
Webrev: http://cr.openjdk.java.net/~hannesw/8209914/webrev.00/
Generated docs: http://cr.openjdk.java.net/~hannesw/8209914/api/
The problem can actually be reproduced consistently on all browsers I tried. It occurs if:
- the link is an anchor on the current page
- the link is followed via mouse click (as opposed to hitting the enter key)
- the mouse is clicked on the text of the entry (not the blank space to the right of the text)
The solution is to remove the <a href="#"> element from search suggestions that interfere with the selected target anchor under above conditions.
Thanks,
Hannes
More information about the javadoc-dev
mailing list