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

ScientificWare duke at openjdk.org
Tue Aug 16 17:15:41 UTC 2022


> 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:

  Test case for JDK-8292276
  
  Adds a jtreg test case that fails before JDK-8292276 patch and passes after.
  Test the Cyan color name.
  Cyan is the missing color name that originates the PR JDK8292276 : Missing Color NamesIn CSS.
  Cyan name, as most color names Colors defined in CSS Color Module Level 4, is not referenced in CSS.java.
  This test fails, if getAttribute doesn't return a cyan Color Object.
  When a color name is missing getAttribute returns a black Color Object.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/9825/files
  - new: https://git.openjdk.org/jdk/pull/9825/files/fe428f12..852861dc

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=9825&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=9825&range=02-03

  Stats: 55 lines in 1 file changed: 55 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/9825.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/9825/head:pull/9825

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



More information about the client-libs-dev mailing list