-
Enhancement
-
Resolution: Unresolved
-
P4
-
8, 21, 22, 23
-
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] forJDK-8326734.
[1] https://www.w3.org/TR/html4/struct/global.html#adef-class
[2] https://github.com/openjdk/jdk/pull/18550#discussion_r1558128238
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
[1] https://www.w3.org/TR/html4/struct/global.html#adef-class
[2] https://github.com/openjdk/jdk/pull/18550#discussion_r1558128238