<Swing Dev> RFR: 8256019: JLabel HTML text does not support translucent text colors [v3]
Sergey Bylokhov
serb at openjdk.java.net
Wed Dec 9 22:50:39 UTC 2020
On Tue, 24 Nov 2020 13:02:12 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
>> Issue is a JLabel with a translucent foreground color properly renders plain text, but with HTML text, the alpha component is discarded and the text is rendered using an opaque color.
>> As per https://www.w3schools.com/cssref/func_rgba.asp, CSS supports rgba() to support alpha and render translucent text color
>> but support for rgba() is not present in JDK html text rendering.
>>
>> Added support for rgba() to render translucent text color.
>
> Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:
>
> Revert unneeded additional code
Marked as reviewed by serb (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/1158
More information about the swing-dev
mailing list