Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8240971

Fix CSS styles in some doc comments

XMLWordPrintable

    • b15
    • Not verified

      Recently, for the display of javadoc block tags, javadoc changed from using an inconsistent set of CSS class names on the generated '<dt>' elements to using a single new name ("notes") on the enclosing '<dl>' element.

      There are a few (4) places in the main JDK code where the old-style names were used explicitly in doc comments, in order to emulate the appearance of a list of block tags. These use-sites should be fixed up. They are in the following files:

      open/src/java.base/share/classes/module-info.java
      open/src/java.se/share/classes/module-info.java
      open/src/java.management.rmi/share/classes/module-info.java
      open/src/jdk.jconsole/share/classes/module-info.java

      In addition, these four files used the style attribute to force the font to be used. The font is now set in the standard CSS for "notes", and so the local use of a "style" attribute is no longer necessary.

            jjg Jonathan Gibbons
            jjg Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: