[color-valid-color-layers-function.html]
  [e.style['color'\] = "color-layers(red)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(red, blue)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(red, blue, green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(red, blue, green, orange, purple, black)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(rgba(0, 0, 0, 0.5), color(display-p3 1 0.5 0))" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(currentcolor, blue)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(canvastext, green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(rgb(from black r g b / 0.5), green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(color-mix(in srgb, red, blue), blue)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(color-layers(red, blue), green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(normal, red)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(normal, red, blue)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(normal, red, blue, green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(normal, red, blue, green, orange, purple, black)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(normal, rgba(0, 0, 0, 0.5), color(display-p3 1 0.5 0))" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(normal, currentcolor, blue)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(normal, canvastext, green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(normal, rgb(from black r g b / 0.5), green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(normal, color-mix(in srgb, red, blue), blue)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(normal, color-layers(red, blue), green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(multiply, red)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(multiply, red, blue)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(multiply, red, blue, green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(multiply, red, blue, green, orange, purple, black)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(multiply, rgba(0, 0, 0, 0.5), color(display-p3 1 0.5 0))" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(multiply, currentcolor, blue)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(multiply, canvastext, green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(multiply, rgb(from black r g b / 0.5), green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(multiply, color-mix(in srgb, red, blue), blue)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(multiply, color-layers(red, blue), green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(screen, red)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(screen, red, blue)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(screen, red, blue, green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(screen, red, blue, green, orange, purple, black)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(screen, rgba(0, 0, 0, 0.5), color(display-p3 1 0.5 0))" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(screen, currentcolor, blue)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(screen, canvastext, green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(screen, rgb(from black r g b / 0.5), green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(screen, color-mix(in srgb, red, blue), blue)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(screen, color-layers(red, blue), green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(overlay, red)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(overlay, red, blue)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(overlay, red, blue, green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(overlay, red, blue, green, orange, purple, black)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(overlay, rgba(0, 0, 0, 0.5), color(display-p3 1 0.5 0))" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(overlay, currentcolor, blue)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(overlay, canvastext, green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(overlay, rgb(from black r g b / 0.5), green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(overlay, color-mix(in srgb, red, blue), blue)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(overlay, color-layers(red, blue), green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(darken, red)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(darken, red, blue)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(darken, red, blue, green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(darken, red, blue, green, orange, purple, black)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(darken, rgba(0, 0, 0, 0.5), color(display-p3 1 0.5 0))" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(darken, currentcolor, blue)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(darken, canvastext, green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(darken, rgb(from black r g b / 0.5), green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(darken, color-mix(in srgb, red, blue), blue)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(darken, color-layers(red, blue), green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(lighten, red)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(lighten, red, blue)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(lighten, red, blue, green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(lighten, red, blue, green, orange, purple, black)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(lighten, rgba(0, 0, 0, 0.5), color(display-p3 1 0.5 0))" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(lighten, currentcolor, blue)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(lighten, canvastext, green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(lighten, rgb(from black r g b / 0.5), green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(lighten, color-mix(in srgb, red, blue), blue)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(lighten, color-layers(red, blue), green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(color-dodge, red)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(color-dodge, red, blue)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(color-dodge, red, blue, green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(color-dodge, red, blue, green, orange, purple, black)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(color-dodge, rgba(0, 0, 0, 0.5), color(display-p3 1 0.5 0))" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(color-dodge, currentcolor, blue)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(color-dodge, canvastext, green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(color-dodge, rgb(from black r g b / 0.5), green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(color-dodge, color-mix(in srgb, red, blue), blue)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(color-dodge, color-layers(red, blue), green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(color-burn, red)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(color-burn, red, blue)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(color-burn, red, blue, green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(color-burn, red, blue, green, orange, purple, black)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(color-burn, rgba(0, 0, 0, 0.5), color(display-p3 1 0.5 0))" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(color-burn, currentcolor, blue)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(color-burn, canvastext, green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(color-burn, rgb(from black r g b / 0.5), green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(color-burn, color-mix(in srgb, red, blue), blue)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(color-burn, color-layers(red, blue), green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(hard-light, red)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(hard-light, red, blue)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(hard-light, red, blue, green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(hard-light, red, blue, green, orange, purple, black)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(hard-light, rgba(0, 0, 0, 0.5), color(display-p3 1 0.5 0))" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(hard-light, currentcolor, blue)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(hard-light, canvastext, green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(hard-light, rgb(from black r g b / 0.5), green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(hard-light, color-mix(in srgb, red, blue), blue)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(hard-light, color-layers(red, blue), green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(soft-light, red)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(soft-light, red, blue)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(soft-light, red, blue, green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(soft-light, red, blue, green, orange, purple, black)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(soft-light, rgba(0, 0, 0, 0.5), color(display-p3 1 0.5 0))" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(soft-light, currentcolor, blue)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(soft-light, canvastext, green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(soft-light, rgb(from black r g b / 0.5), green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(soft-light, color-mix(in srgb, red, blue), blue)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(soft-light, color-layers(red, blue), green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(difference, red)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(difference, red, blue)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(difference, red, blue, green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(difference, red, blue, green, orange, purple, black)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(difference, rgba(0, 0, 0, 0.5), color(display-p3 1 0.5 0))" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(difference, currentcolor, blue)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(difference, canvastext, green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(difference, rgb(from black r g b / 0.5), green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(difference, color-mix(in srgb, red, blue), blue)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(difference, color-layers(red, blue), green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(exclusion, red)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(exclusion, red, blue)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(exclusion, red, blue, green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(exclusion, red, blue, green, orange, purple, black)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(exclusion, rgba(0, 0, 0, 0.5), color(display-p3 1 0.5 0))" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(exclusion, currentcolor, blue)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(exclusion, canvastext, green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(exclusion, rgb(from black r g b / 0.5), green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(exclusion, color-mix(in srgb, red, blue), blue)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(exclusion, color-layers(red, blue), green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(hue, red)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(hue, red, blue)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(hue, red, blue, green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(hue, red, blue, green, orange, purple, black)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(hue, rgba(0, 0, 0, 0.5), color(display-p3 1 0.5 0))" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(hue, currentcolor, blue)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(hue, canvastext, green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(hue, rgb(from black r g b / 0.5), green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(hue, color-mix(in srgb, red, blue), blue)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(hue, color-layers(red, blue), green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(saturation, red)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(saturation, red, blue)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(saturation, red, blue, green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(saturation, red, blue, green, orange, purple, black)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(saturation, rgba(0, 0, 0, 0.5), color(display-p3 1 0.5 0))" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(saturation, currentcolor, blue)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(saturation, canvastext, green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(saturation, rgb(from black r g b / 0.5), green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(saturation, color-mix(in srgb, red, blue), blue)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(saturation, color-layers(red, blue), green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(color, red)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(color, red, blue)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(color, red, blue, green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(color, red, blue, green, orange, purple, black)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(color, rgba(0, 0, 0, 0.5), color(display-p3 1 0.5 0))" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(color, currentcolor, blue)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(color, canvastext, green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(color, rgb(from black r g b / 0.5), green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(color, color-mix(in srgb, red, blue), blue)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(color, color-layers(red, blue), green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(luminosity, red)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(luminosity, red, blue)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(luminosity, red, blue, green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(luminosity, red, blue, green, orange, purple, black)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(luminosity, rgba(0, 0, 0, 0.5), color(display-p3 1 0.5 0))" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(luminosity, currentcolor, blue)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(luminosity, canvastext, green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(luminosity, rgb(from black r g b / 0.5), green)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(luminosity, color-mix(in srgb, red, blue), blue)" should set the property value]
    expected: FAIL

  [e.style['color'\] = "color-layers(luminosity, color-layers(red, blue), green)" should set the property value]
    expected: FAIL
