On Wed, 7 Sep 2022 21:55:53 GMT, ScientificWare <[email protected]> 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: > > Whitespace errors > > Removes whitespaces. Swing supports [CSS1](https://www.w3.org/TR/REC-CSS1/) only, it defines color names for [16 colors](https://www.w3.org/TR/REC-CSS1/#color-units): > The suggested list of keyword color names is: aqua, black, blue, fuchsia, > gray, green, lime, maroon, navy, olive, purple, red, silver, teal, white, and > yellow. These 16 colors are taken from the Windows VGA palette, and their RGB > values are not defined in this specification. Would the addition of color names from CSS4 give a wrong impression that Swing implements CSS4? ------------- PR: https://git.openjdk.org/jdk/pull/9825
