← back to v150 · css-image-color-function
conformance · v150
v150 · css-image-color-function — conformance probe
8 assertions drawn from the spec. Each is a single contract the spec text makes. Pass/fail reflects what this browser executed; blocked means the contract was not run because it needs user mediation, hardware, or another unavailable precondition. Open the page in Chrome stable / canary / Firefox / Safari to compare.
0
pass
0
fail
0
blocked
8
total
| id | contract | kind | verdict | detail |
|---|---|---|---|---|
image-color-as-background |
background-image: image(<color>) parses via CSS.supports. spec ↗ | css-supports | … | |
image-color-rgba |
image() accepts <color> in functional notation including alpha. | css-supports | … | |
image-color-named |
image() accepts named colors. | css-supports | … | |
image-color-list-style |
image(<color>) is accepted anywhere <image> is — including list-style-image. | css-supports | … | |
image-url-color-fallback |
image(<url>, <color>) parses as the function's explicit URL fallback form. spec ↗ | css-supports | … | |
image-color-layer-after-image-set |
image(<color>) can be layered after image-set() as a separate fallback background image. spec ↗ | css-supports | … | |
image-color-cssom-roundtrip |
background-image: image(red) round-trips via getComputedStyle (computed value contains a colour or url representation, not the literal 'image(red)' string left unparsed). | script | … | |
image-rejects-non-color-arg |
image() with a single bare keyword that is neither a colour nor a URL is rejected (regression check on the grammar). | script | … |