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

Make <wbr> element void

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 17
    • 17
    • tools
    • None

      According to https://html.spec.whatwg.org/multipage/syntax.html#elements-2 <wbr> is a void element. A void element does not have an end tag. However, jdk.javadoc.internal.doclint.HtmlTag.WBR is modelled as an element with a required end tag.

      Although it doesn't seem to cause any problems if inserted by the standard doclet (e.g. JDK-8266779), a <wbr> inserted in a doc comment causes an unwarranted doclint error "element not closed: wbr".

            jjg Jonathan Gibbons
            prappo Pavel Rappo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: