On Wed, 19 Oct 2022 11:17:07 GMT, Magnus Ihse Bursie <i...@openjdk.org> wrote:

> It would be possible to mark classes with `@sealedGraph` to indicate that the 
> sealed hierarchy should be rendered graphically in the JavaDocs. Classes not 
> marked would be unaffected, creating an opt-in approach.
> 
> [Here](https://bugs.openjdk.org/secure/attachment/101126/Screen%20Shot%202022-10-19%20at%2012.47.47%20PM.png)
>  is an example of MemoryLayout class rendering.
> 
> This feature has been developed in cooperation with Per Minborg.

src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/resources/stylesheet.css
 line 855:

> 853:     margin: -100px 0 0 100px;
> 854:     z-index: 1;
> 855: }

These lines could be merged with the preceding lines, using the `,` syntax

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

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

Reply via email to