RFR: JDK-8292276 : Add named colors from CSS Color Module Level 4 [v37]
ScientificWare
duke at openjdk.org
Mon Oct 9 21:40:11 UTC 2023
> 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 55 commits:
- Merge master
- MissingColorNames.java :
- Add a subset of RGB and RGBA tests.
- MissingColorNames.java :
- rename the list of string test.
CSS.java :
- correct a wrong index.
- MissingColorNames.java : Adds a subset of hexadecimal tests.
- Merge scientificware-patch-003-CSS-add_4_8_digits_hex_coded_color
# Conflicts:
# src/java.desktop/share/classes/javax/swing/text/html/CSS.java
- Merge master
- Merge branch 'master'
CSS.java :
Removes assigning values inside the if-condition
Extracts the assignments into separate line.
Hex3468DigitsColor.java :
Adds a message to result in case of failure only
- Updates copyright date.
Updates copyright date to 2023.
- Updates copyright date.
Updates copyright date to 2023.
- Update imports
Remove java.util.Pattern and add java.util.Map imports
- ... and 45 more: https://git.openjdk.org/jdk/compare/f61499c7...3e92e1c4
-------------
Changes: https://git.openjdk.org/jdk/pull/9825/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=9825&range=36
Stats: 661 lines in 4 files changed: 567 ins; 16 del; 78 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
More information about the client-libs-dev
mailing list