OK.

I don't know why the `.attr("href", "#")` was present, but having played with the generated docs, I agree that
the issue in question has been fixed.

(Separately, the display order of the choices for List.of seems weird/backward. I'll file a separate issue with screenshot.)

-- Jon


On 09/05/2018 12:55 AM, Hannes Wallnöfer wrote:
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

Reply via email to