RFR: 8219733: Restore javadoc header styles

Jonathan Gibbons jonathan.gibbons at oracle.com
Fri Mar 29 20:40:21 UTC 2019


Nice. Looks good to me.

I look forward to more such simplification in future cleanup, perhaps in 
conjunction with code changes to change the name of the styles being used.

-- Jon


On 03/27/2019 10:18 AM, Hannes Wallnöfer wrote:
> Please review:
>
> Issue: https://bugs.openjdk.java.net/browse/JDK-8219733
> Webrev: http://cr.openjdk.java.net/~hannesw/8219733/
>
> This restores the visual appearance in javadoc pages and makes the stylesheet easier to understand by using the new page type classes in body elements.
>
>
> The following selectors are used for italic h2 headers:
>
> body.class-declaration .summary h2,
> body.class-declaration .details h2,
> body.class-use h2,
> body.module-declaration .blockList h2
>
> These selectors are used for darker grey background h3 headers:
>
> body.class-declaration .summary h3,
> body.class-declaration .details h3
>
> In the case of class-declaration and module-declaration pages which can contain user-provided text content I used additional intermediate classes to limit the selectors to the intended sections.
>
> Thanks,
> Hannes



More information about the javadoc-dev mailing list