> This is referenced in Java Bug Database as > - [JDK-8292276 : Add named colors from CSS Color Module Level > 4](https://bugs.java.com/bugdatabase/view_bug?bug_id=8292276) > > This is tracked in JBS as > - [JDK-8292276 : Add named colors from CSS Color Module Level > 4](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 : Add named colors from CSS Color > Module Level 4](https://github.com/scientificware/jdk/issues/12)
ScientificWare has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 18 commits: - Merge branch 'openjdk:master' into scientificware-patch-002-CSS-add_missing_named_color - Update src/java.desktop/share/classes/javax/swing/text/html/CSS.java Co-authored-by: Andrey Turbanov <[email protected]> - Merge master - MissingColorNames.java test : Tests all named colors. - CSS.java : Misalignment of comments. lazily initialization of colorNames. StyleSheet.java : Update the specification of stringToColor. - configure : linux file permission moves from 644=rw-r--r-- to 755=rwxr-xr-x. - Merge master - Merge master - Merge master # Conflicts: # src/java.desktop/share/classes/javax/swing/text/html/CSS.java # src/java.desktop/share/classes/javax/swing/text/html/StyleSheet.java - CSS.java - Updates copyright date to 2023. - Adds the missing color names defined by : 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) - Adds relative imports. - Replaces, if ... then ... else statements with a Map called "colorNamed". StyleSheet.java ; - Updates copyright date to 2023. - Updates stringToColor specifications to integrate a reference to CSS Color Module 4 for color names and hexadecimal notation. MissingColorNames.java : - Création d'un test pour les nouveaux noms de couleurs ajoutés. - ... and 8 more: https://git.openjdk.org/jdk/compare/b80001de...a4341355 ------------- Changes: https://git.openjdk.org/jdk/pull/9825/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=9825&range=33 Stats: 438 lines in 3 files changed: 375 ins; 0 del; 63 mod Patch: https://git.openjdk.org/jdk/pull/9825.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/9825/head:pull/9825 PR: https://git.openjdk.org/jdk/pull/9825
