CSS Color Module Level 4 CR Test Suite

Profiled, Device-dependent Colors (32 tests)

Test Refs Flags Info
+ 10 Profiled, Device-dependent Colors
+ 10.1 Specifying profiled colors: the color() function
color-function-parsing Script CSS Color 4: color() parsing
  • Tests basic parsing of the color function
+ 10.2 Predefined colorspaces: srgb, display-p3, a98-rgb, prophoto-rgb, rec2020, xyz and lab'.
predefined-001 = CSS Color 4: predefined colorspaces, srgb, decimal values
  • Color function with explicit srgb value as decimal matches sRGB #009900
predefined-002 = CSS Color 4: predefined colorspaces, srgb, percent values
  • Color function with explicit srgb value as percent matches sRGB #009900
predefined-005 = CSS Color 4: predefined colorspaces, display-p3, decimal values
  • Color function with explicit display-p3 value as decimal matches sRGB #009900
predefined-006 = CSS Color 4: predefined colorspaces, display-p3, percent values
  • Color function with explicit display-p3 value as percent matches sRGB #009900
predefined-007 = CSS Color 4: predefined colorspaces, a98-rgb, decimal values
  • Color function with explicit a98-rgb value as decimal matches sRGB #009900
predefined-008 = CSS Color 4: predefined colorspaces, a98-rgb, percent values
  • Color function with explicit a98-rgb value as percent matches sRGB #009900
predefined-009 = CSS Color 4: predefined colorspaces, prophoto-rgb, decimal values
  • Color function with explicit prophoto-rgb value as decimal matches sRGB #009900. Note that prophoto-rgb uses a D50 white so the chromatic adaptation step from Lab must be skipped.
predefined-010 = CSS Color 4: predefined colorspaces, prophoto-rgb, percent values
  • Color function with explicit prophoto-rgb value as percent matches sRGB #009900. Note that prophoto-rgb uses a D50 white so the chromatic adaptation step from Lab must be skipped.
predefined-011 = CSS Color 4: predefined colorspaces, rec2020, decimal values
  • Color function with explicit rec2020 value as decimal matches sRGB #009900
predefined-012 = CSS Color 4: predefined colorspaces, rec2020, percent values
  • Color function with explicit rec2020 value as percent matches sRGB #009900
predefined-013 = CSS Color 4: predefined colorspaces, lab
  • Color function with explicit lab value matches sRGB #009900
predefined-016 = CSS Color 4: predefined colorspaces, lab
  • Color function with explicit XYZ value matches sRGB #009900
a98rgb-001 = CSS Color 4: a98-rgb
  • a98-rgb with no alpha
a98rgb-002 = CSS Color 4: a98-rgb
  • a98-rgb with no alpha
a98rgb-003 = CSS Color 4: a98-rgb
  • a98-rgb with no alpha
a98rgb-004 = CSS Color 4: a98-rgb
  • a98-rgb with no alpha
prophoto-rgb-001 = CSS Color 4: prophoto-rgb
  • prophoto-rgb with no alpha
prophoto-rgb-002 = CSS Color 4: prophoto-rgb
  • prophoto-rgb with no alpha
prophoto-rgb-003 = CSS Color 4: prophoto-rgb
  • prophoto-rgb with no alpha
prophoto-rgb-004 = CSS Color 4: prophoto-rgb
  • prophoto-rgb with no alpha
prophoto-rgb-005 = CSS Color 4: prophoto-rgb
  • prophoto-rgb outside the sRGB gamut
rec2020-001 = CSS Color 4: rec2020
  • rec2020 with no alpha
rec2020-002 = CSS Color 4: rec2020
  • rec2020 with no alpha
rec2020-003 = CSS Color 4: rec2020
  • rec2020 with no alpha
rec2020-004 = CSS Color 4: rec2020
  • rec2020 with no alpha
rec2020-005 = CSS Color 4: rec2020
  • rec2020 outside the sRGB gamut
xyz-001 = CSS Color 4: xyz
  • xyz with no alpha
xyz-002 = CSS Color 4: xyz
  • xyz with no alpha
xyz-003 = CSS Color 4: xyz
  • xyz with no alpha
xyz-004 = CSS Color 4: xyz
  • xyz with no alpha
xyz-005 = CSS Color 4: xyz
  • xyz outside the sRGB gamut
+ 10.2.1 Converting predefined colorspaces to Lab
+ 10.2.2 Converting Lab to predefined colorspaces
+ 10.3 Specifying a color profile: the @color-profile at-rule
+ 10.4 CSS and print: using calibrated CMYK and other printed colorspaces