Please review a simple fix for a rendering bug in the javadoc search result list. For very long items in that list that do not fit into the menu and require horizontal scrolling the colored selection bar used to be cut off. With this change, the selection bar covers at least the length of the item itself, or the width of the menu, whichever is bigger.
Example output: http://cr.openjdk.java.net/~hannesw/8230130/api.00/ (Search for "XMLEventFactory.createStartElement" as suggested in the bug report and then scroll horizontally.) ------------- Commit messages: - JDK-8230130: javadoc search result dialog shows cut off headers for long results Changes: https://git.openjdk.java.net/jdk/pull/6016/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=6016&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8230130 Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod Patch: https://git.openjdk.java.net/jdk/pull/6016.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/6016/head:pull/6016 PR: https://git.openjdk.java.net/jdk/pull/6016