calc-infinity-nan-computed.html
Details
- Test
/css/css-values/calc-infinity-nan-computed.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| PASS | Property width value 'calc(NaN * 1px)' |
| PASS | Property width value 'calc(NaN * 1%)' |
| PASS | Property width value 'calc(infinity * 1px)' |
| PASS | Property width value 'calc(infinity * 1%)' |
| PASS | Property width value 'calc(infinity * 1cm)' |
| PASS | Property width value 'calc(NaN * 1rem)' |
| PASS | Property width value 'calc(10.135262721212548pc - 199pt / NaN)' |
| PASS | Property width value 'max(15px, NaN * 1px)' |
| PASS | Property width value 'max(NaN * 1px, 15px)' |
| PASS | Property width value 'max(-15px, NaN * 1px)' |
| PASS | Property width value 'max(NaN * 1px, -15px)' |
| PASS | Property width value 'min(15px, NaN * 1px)' |
| PASS | Property width value 'min(NaN * 1px, 15px)' |
| PASS | Property width value 'min(-15px, NaN * 1px)' |
| PASS | Property width value 'min(NaN * 1px, -15px)' |
| PASS | Property width value 'calc(infinity * 1px - infinity * 1%)' |
| PASS | Property width value 'calc(infinity * 1px + infinity * 1%)' |
| PASS | Property width value 'calc(min(NaN * 1px, infinity * 1px) + max(infinity * 1px, -infinity * 1px))' |
| PASS | Property width value 'calc(infinity * 1px - max(infinity * 1%, 0%))' |
| PASS | Property width value 'calc(max(infinity * 1px, 10px))' |
| PASS | Property margin-left value 'calc(-infinity * 1px)' |
| PASS | Property margin-left value 'calc(min(1px, -infinity * 1%))' |
| PASS | Property margin-left value 'calc(-infinity * 1%)' |
| PASS | Property margin-left value 'calc(max(10000px, 0px) + min(-infinity * 1px, infinity * 1px))' |
| PASS | Property margin-left value 'calc(-infinity * 1px - infinity * 1px)' |
| PASS | Property margin-left value 'calc(min(-infinity * 1px, 10px))' |
| PASS | Property margin-left value 'calc(1em / sign(1em - 16px))' |
| PASS | Property margin-left value 'calc(1em / (-1 * sign(1em - 16px)))' |
| PASS | Property animation-duration value 'calc(NaN * 1s)' |
| PASS | Property animation-duration value 'calc(infinity * 1s)' |
| PASS | Property animation-duration value 'calc(1 / 0 * 1s)' |
| PASS | Property animation-duration value 'calc(max(infinity * 1s, 10s)' |
| PASS | Property transition-delay value 'calc(-infinity* 1s)' |
| PASS | Property transition-delay value 'calc(max(10000s, 0s) + min(-infinity * 1s, infinity * 1s))' |
| PASS | Property transition-delay value 'calc(min(-infinity * 1s, 10s))' |
| PASS | Property transition-delay value 'calc(1s / sign(1em - 16px))' |
| PASS | Property transition-delay value 'calc(1s / (-1 * sign(1em - 16px)))' |
| FAIL | Property rotate(calc(infinity * 1deg)) value expected same with rotate(0deg) in +/-0.0001 assert_array_approx_equals: property 0, expected NaN +/- 0.0001, expected NaN but got NaN |
| FAIL | Property rotate(calc(-infinity * 1deg)) value expected same with rotate(0deg) in +/-0.0001 assert_array_approx_equals: property 0, expected NaN +/- 0.0001, expected NaN but got NaN |
| FAIL | Property rotate(calc(NaN * 1deg)) value expected same with rotate(0deg) in +/-0.0001 assert_array_approx_equals: property 0, expected NaN +/- 0.0001, expected NaN but got NaN |
| FAIL | Property rotate(calc(infinity * 1turn)) value expected same with rotate(0deg) in +/-0.0001 assert_array_approx_equals: property 0, expected NaN +/- 0.0001, expected NaN but got NaN |
| FAIL | Property rotate(calc(-infinity * 1turn)) value expected same with rotate(0deg) in +/-0.0001 assert_array_approx_equals: property 0, expected NaN +/- 0.0001, expected NaN but got NaN |
| FAIL | Property rotate(calc(NaN * 1turn)) value expected same with rotate(0deg) in +/-0.0001 assert_array_approx_equals: property 0, expected NaN +/- 0.0001, expected NaN but got NaN |
| FAIL | Property rotate(calc(infinity * 1rad)) value expected same with rotate(0deg) in +/-0.0001 assert_array_approx_equals: property 0, expected NaN +/- 0.0001, expected NaN but got NaN |
| FAIL | Property rotate(calc(-infinity * 1rad)) value expected same with rotate(0deg) in +/-0.0001 assert_array_approx_equals: property 0, expected NaN +/- 0.0001, expected NaN but got NaN |
| FAIL | Property rotate(calc(NaN * 1rad)) value expected same with rotate(0deg) in +/-0.0001 assert_array_approx_equals: property 0, expected NaN +/- 0.0001, expected NaN but got NaN |
| FAIL | Property rotate(calc(infinity * 1grad)) value expected same with rotate(0deg) in +/-0.0001 assert_array_approx_equals: property 0, expected NaN +/- 0.0001, expected NaN but got NaN |
| FAIL | Property rotate(calc(-infinity * 1grad)) value expected same with rotate(0deg) in +/-0.0001 assert_array_approx_equals: property 0, expected NaN +/- 0.0001, expected NaN but got NaN |
| FAIL | Property rotate(calc(NaN * 1grad)) value expected same with rotate(0deg) in +/-0.0001 assert_array_approx_equals: property 0, expected NaN +/- 0.0001, expected NaN but got NaN |
| FAIL | Property rotate(calc(1deg / sign(1em - 16px)) value expected same with rotate(0deg) in +/-0.0001 assert_array_approx_equals: property 0, expected NaN +/- 0.0001, expected NaN but got NaN |
| FAIL | Property rotate(calc(1deg / (-1 * sign(1em - 16px))) value expected same with rotate(0deg) in +/-0.0001 assert_array_approx_equals: property 0, expected NaN +/- 0.0001, expected NaN but got NaN |
| PASS | Property scale value 'calc(max(infinity, 10))' |
| PASS | Property scale value 'calc(infinity)' |
| PASS | Property scale value 'calc(-infinity * 10)' |
| PASS | Property scale value 'calc(1 / sign(1em - 16px))' |
| PASS | Property scale value 'calc(1 / (-1 * sign(1em - 16px)))' |
| PASS | Property scale value 'calc(max(infinity * 100%, 1000%))' |
| PASS | Property scale value 'calc(infinity * 100%)' |
| PASS | Property scale value 'calc(-infinity * 1000%)' |
| PASS | Property scale value 'calc(100% / sign(1em - 16px))' |
| PASS | Property scale value 'calc(100% / (-1 * sign(1em - 16px)))' |
| PASS | Property translate value 'calc(infinity * 100%)' |
| PASS | Property translate value 'calc(-infinity * 1000%)' |
| PASS | Property translate value 'calc(100% / sign(1em - 16px))' |
| PASS | Property translate value 'calc(100% / (-1 * sign(1em - 16px)))' |