RFR: JDK-8292276 : Missing color names in CSS [v21]

Alexey Ivanov aivanov at openjdk.org
Mon Sep 26 17:20:21 UTC 2022


On Wed, 21 Sep 2022 03:29:35 GMT, ScientificWare <duke at openjdk.org> wrote:

>> This is referenced in Java Bug Database as
>> - [JDK-8292276 : Missing color names in CSS](https://bugs.java.com/bugdatabase/view_bug.do?bug_id=8292276)
>> 
>> This is tracked in JBS as 
>> - [JDK-8292276 : Missing color names in CSS](https://bugs.openjdk.java.net/browse/JDK-8292276)
>> 
>> Adds missing color names, defined by CSS Level 4, in CSS.java :
>> CSS Color Module Level 4
>> W3C Candidate Recommendation Snapshot, 5 July 2022
>> [7.1 Named Colors](https://www.w3.org/TR/css-color-4/#named-color)
>> 
>> Designed from : [ScientificWare JDK-8292276 : Missing color names in CSS](https://github.com/scientificware/jdk/issues/12)
>
> ScientificWare has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Corrects Licence Header.
>   
>   Removes Classpath exception.

test/jdk/javax/swing/text/html/CSS/MissingColorNames.java line 34:

> 32: import javax.swing.text.AttributeSet;
> 33: import javax.swing.text.html.StyleSheet;
> 34: import java.util.Locale;

`Locale` should be after `Color` in the imports list.

-------------

PR: https://git.openjdk.org/jdk/pull/9825



More information about the client-libs-dev mailing list