← back to v147 · css-contrast-color
conformance · v147
v147 · css-contrast-color — conformance probe
6 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
6
total
| id | contract | kind | verdict | detail |
|---|---|---|---|---|
contrast-color-supported-as-color |
contrast-color() is accepted in any property that expects a <color>. spec ↗ | css-supports | … | |
contrast-color-on-background |
contrast-color() works in background-color too. spec ↗ | css-supports | … | |
contrast-color-keyword-argument |
contrast-color() accepts named-color keyword arguments. spec ↗ | css-supports | … | |
contrast-color-rgb-argument |
contrast-color() accepts modern color function arguments. spec ↗ | css-supports | … | |
contrast-color-resolves-to-white-on-dark |
On a dark background contrast-color() resolves to white. spec ↗ | script | … | |
contrast-color-resolves-to-black-on-light |
On a light background contrast-color() resolves to black. spec ↗ | script | … |