On Thu, 8 Sep 2022 14:22:32 GMT, Alexey Ivanov <[email protected]> wrote:
>> 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? @aivanov-jdk It's a good question : - knowing that CSS Level 4 doesn't recommend usage of these names. - before my next PR about 3, 4, 6 or 8 digits hex coded colors (following CSS Level 4 Colors recommendations). - and this one in project (https://bugs.openjdk.org/browse/JDK-8289722). ------------- PR: https://git.openjdk.org/jdk/pull/9825
