Support multiple HTML classes in Swing

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 8, 21, 22, 23
    • Component/s: client-libs
    • None

      HTML in Swing does not support specifying two or more classes [1] to an element.

      For example, the following paragraph

      <p class="bold italic">bold + italic</p>

      should be rendered with styles of both bold and italic classes. But neither style is applied to <p> in Swing.


      This bug was found during code review [2] for JDK-8326734.

      [1] https://www.w3.org/TR/html4/struct/global.html#adef-class
      [2] https://github.com/openjdk/jdk/pull/18550#discussion_r1558128238

            Assignee:
            Prasanta Sadhukhan
            Reporter:
            Alexey Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: