← back to v140 · css-typed-arithmetic
conformance · v140
v140 · css-typed-arithmetic — conformance probe
7 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
7
total
| id | contract | kind | verdict | detail |
|---|---|---|---|---|
length-divided-by-length-is-number |
calc(length / length) resolves to a unitless number usable by number-valued properties. spec ↗ | css-supports | … | |
angle-divided-by-angle-is-number |
calc(angle / angle) resolves to a unitless number. spec ↗ | css-supports | … | |
time-divided-by-time-is-number |
calc(time / time) resolves to a unitless number. spec ↗ | css-supports | … | |
number-times-length-is-length |
Multiplying a unitless number by a length yields a length. spec ↗ | css-supports | … | |
length-to-angle-cast-pattern |
Dividing a length by a length and multiplying by 1deg produces an angle. spec ↗ | css-supports | … | |
percentage-divided-by-length-times-length |
Mixed-unit arithmetic that cancels to a length is accepted. spec ↗ | css-supports | … | |
mismatched-addition-rejected |
Typed arithmetic still rejects addition between incompatible dimensions. spec ↗ | script | … |