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

Invalid CSS declarations in java.lang class documentation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 22
    • 21
    • core-libs
    • b23
    • generic
    • generic

      The doc comment for java.lang.String.split(String) contains an HTML table with inline inline style attribute containing the CSS rule "text-weight:normal". "text-weight" is not a valid CSS property name, the intended property is "font-weight"[1] which is also used in other doc comments in java.lang.String.

      [1]: https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight

      Another illegal CSS rule is "display:none:" (with a trailing colon instead of a semicolon) in the HTML table caption in the class doc comment in java.lang.Thread.

            hannesw Hannes Wallnoefer
            hannesw Hannes Wallnoefer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: