On Tue, 21 Mar 2023 14:11:56 GMT, Hannes Wallnöfer <[email protected]> wrote:

> Please review a simple change to add a `<wbr>` (line break opportunity) tag 
> before type parameters in some type links. This is only used in the first 
> column of member summary tables as this is the only place where we have type 
> names with full type parameters and no natural line break opportunities in a 
> very limited horizontal space. Attached below is a screenshot of the method 
> summary table of `java.net.http.HttpResponse.BodySubscribers` with this fix 
> applied (see JBS issue for a screenshot of the previous rendering).
> 
> <img width="1175" alt="return-type-line-breaks" 
> src="https://user-images.githubusercontent.com/15975/226632264-73700740-dc25-429f-acce-d26e24be26cd.png";>

This pull request has now been integrated.

Changeset: 2e91585a
Author:    Hannes Wallnöfer <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/2e91585ac945c9a5602decbd5cb1b0b646f8276f
Stats:     53 lines in 6 files changed: 25 ins; 0 del; 28 mod

8303123: Add line break opportunity to single type parameters

Reviewed-by: jjg

-------------

PR: https://git.openjdk.org/jdk/pull/13119

Reply via email to