Details
- Test
/css/css-values/if-cycle.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| PASS | CSS Values and Units Test: CSS if() function cycles |
| PASS | CSS Values and Units Test: CSS if() function cycles 1 |
| PASS | CSS Values and Units Test: CSS if() function cycles 2 |
| PASS | CSS Values and Units Test: CSS if() function cycles 3 |
| PASS | CSS Values and Units Test: CSS if() function cycles 4 |
| PASS | CSS Values and Units Test: CSS if() function cycles 5 |
| PASS | CSS Values and Units Test: CSS if() function cycles 6 |
| PASS | CSS Values and Units Test: CSS if() function cycles 7 |
| PASS | CSS Values and Units Test: CSS if() function cycles 8 |
| PASS | CSS Values and Units Test: CSS if() function cycles 9 |
| PASS | CSS Values and Units Test: CSS if() function cycles 10 |
| PASS | CSS Values and Units Test: CSS if() function cycles 11 |
| PASS | CSS Values and Units Test: CSS if() function cycles 12 |
| PASS | CSS Values and Units Test: CSS if() function cycles 13 |
| PASS | CSS Values and Units Test: CSS if() function cycles 14 |
| PASS | CSS Values and Units Test: CSS if() function cycles 15 |
| PASS | CSS Values and Units Test: CSS if() function cycles 16 |
| FAIL | CSS Values and Units Test: CSS if() function cycles 17 assert_equals: "if(style(--y): true_value;
else: false_value)" should be substituted to "false_value". expected "false_value" but got "" |
| FAIL | CSS Values and Units Test: CSS if() function cycles 18 assert_equals: "if(style(not (--x: var(--y))): true_value;
else: false_value)" should be substituted to "true_value". expected "true_value" but got "" |
| FAIL | CSS Values and Units Test: CSS if() function cycles 19 assert_equals: "if(style(not (--x: var(--y))): true_value;
else: false_value)" should be substituted to "true_value". expected "true_value" but got "" |
| FAIL | CSS Values and Units Test: CSS if() function cycles 20 assert_equals: "if(style((--x) or (--y)): true_value;
else: false_value)" should be substituted to "true_value". expected "true_value" but got "" |
| FAIL | CSS Values and Units Test: CSS if() function cycles 21 assert_equals: "if(style((--x) and (--y)): true_value;
else: false_value)" should be substituted to "false_value". expected "false_value" but got "" |
| FAIL | CSS Values and Units Test: CSS if() function cycles 22 assert_equals: "if(style((not (--z)) or (--y)): true_value;
else: false_value)" should be substituted to "true_value". expected "true_value" but got "" |
| FAIL | CSS Values and Units Test: CSS if() function cycles 23 assert_equals: "if(style((not (--z)) and (--y)): true_value;
else: false_value)" should be substituted to "true_value". expected "true_value" but got "" |
| FAIL | CSS Values and Units Test: CSS if() function cycles 24 assert_equals: "if(style(--x: 3): true_value;
else: false_value)" should be substituted to "false_value". expected "false_value" but got "" |
| FAIL | CSS Values and Units Test: CSS if() function cycles 25 assert_equals: "if(style(--x: 3): true_value;
else: false_value)" should be substituted to "false_value". expected "false_value" but got "" |
| FAIL | CSS Values and Units Test: CSS if() function cycles 26 assert_equals: "if(style(--x: var(--y)): true_value;
else: false_value)" should be substituted to "false_value". expected "false_value" but got "" |
| FAIL | CSS Values and Units Test: CSS if() function cycles 27 assert_equals: "if(style(--x: var(--y)): true_value;
else: false_value)" should be substituted to "false_value". expected "false_value" but got "" |
| FAIL | CSS Values and Units Test: CSS if() function cycles 28 assert_equals: "if(style(--x: attr(data-foo type(*))): true_value;
else: false_value)" should be substituted to "false_value". expected "false_value" but got "" |
| FAIL | CSS Values and Units Test: CSS if() function cycles 29 assert_equals: "if(style(--x: attr(data-foo, var(--y))): true_value;
else: false_value)" should be substituted to "true_value". expected "true_value" but got "" |
| FAIL | CSS Values and Units Test: CSS if() function cycles 30 assert_equals: "if(style(--x: 0): value1; style(--prop): value2)" should be substituted to "value1". expected "value1" but got "" |
| FAIL | CSS Values and Units Test: CSS if() function cycles 31 assert_equals: "if(style(--x: 3): value1;
style(--y: 3): value2;
else: value3)" should be substituted to "value1". expected "value1" but got "" |
| FAIL | CSS Values and Units Test: CSS if() function cycles 32 assert_equals: "if(style(--x: 0): value1; style(--y): value2)" should be substituted to "value1". expected "value1" but got "" |
| FAIL | CSS Values and Units Test: CSS if() function cycles 33 assert_equals: "if(style(--x: 3): value1;
style(--y: 3): value2;
else: value3)" should be substituted to "value1". expected "value1" but got "" |
| FAIL | CSS Values and Units Test: CSS if() function cycles 34 assert_equals: "if(style(--x: 0): var(--prop); else: value)" should be substituted to "value". expected "value" but got "" |
| FAIL | CSS Values and Units Test: CSS if() function cycles 35 assert_equals: "if(style(--x: 0): value; else: var(--prop))" should be substituted to "value". expected "value" but got "" |
| FAIL | CSS Values and Units Test: CSS if() function cycles 36 assert_equals: "if(style(--x: 3): value1;
style(--y: 3): var(--prop);
else: value3)" should be substituted to "value1". expected "value1" but got "" |
| FAIL | CSS Values and Units Test: CSS if() function cycles 37 assert_equals: "if(style(--x: 3): var(--prop);
style(--y: 3): var(--prop);
else: value3)" should be substituted to "value3". expected "value3" but got "" |
| FAIL | CSS Values and Units Test: CSS if() function cycles 38 assert_equals: "if(style(--x: 3): var(--x);
else: value)" should be substituted to "3". expected "3" but got "" |
| FAIL | CSS Values and Units Test: CSS if() function cycles 39 assert_equals: "if(style(--x: var(--y)): var(--y);
else: value)" should be substituted to "3". expected "3" but got "" |
| FAIL | CSS Values and Units Test: CSS if() function cycles 40 assert_equals: "if(style(--x: var(--x)): true_value;
else: false_value)" should be substituted to "true_value". expected "true_value" but got "" |
| FAIL | CSS Values and Units Test: CSS if() function cycles 41 assert_equals: "if(style(--non-existent: var(--non-existent)): true_value;
else: false_value)" should be substituted to "false_value". expected "false_value" but got "" |
| FAIL | CSS Values and Units Test: CSS if() function cycles 42 assert_equals: "if(style(--x: 3): true_value;
else: var(--x))" should be substituted to "1". expected "1" but got "" |
| FAIL | CSS Values and Units Test: CSS if() function cycles 43 assert_equals: "if(style(--x: var(--x)): value1;
style(--x: 3): value2;
else: value3;)" should be substituted to "value1". expected "value1" but got "" |
| FAIL | CSS Values and Units Test: CSS if() function cycles 44 assert_equals: "if(style(--x: var(--y)): value1;
style(--z: 3): value2;
else: value3;)" should be substituted to "value2". expected "value2" but got "" |
| FAIL | CSS Values and Units Test: CSS if() function cycles 45 assert_equals: "if(style(--z: var(--y)): value1;
style(--z: 3): value2;
else: value3;)" should be substituted to "value2". expected "value2" but got "" |