<Swing Dev> RFR: 8251122: doclint html5 errors in java.desktop/share/classes/javax/swing/plaf/nimbus/doc-files/properties.html
Tejpal Rebari
tejpal.rebari at oracle.com
Thu Aug 20 12:21:39 UTC 2020
Hi All,
Please review the following fix for jdk16.
Bug : https://bugs.openjdk.java.net/browse/JDK-8251122 <https://bugs.openjdk.java.net/browse/JDK-8251122>
Webrev : http://cr.openjdk.java.net/~trebari/swing/8251122/webrev00/ <http://cr.openjdk.java.net/~trebari/swing/8251122/webrev00/>
Issue : doclint html5 errors in java.desktop/share/classes/javax/swing/plaf/nimbus/doc-files/properties.html
Doclint identified that some of the swing classes were still using attributes which is not supported in html5.
Fix : Doclint identified that the html attributes like width, bgcolor , cellspacing, cellpadding were still in use in swing classes.
Used CSS properties for these attributes, like style=“width” for width, background-color for bgcolor etc.
Verified that the doclint doesn’t throw any error after the fix.
Regards
Tejpal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/swing-dev/attachments/20200820/1331ca3c/attachment.htm>
More information about the swing-dev
mailing list