random-in-if.tentative.html
Details
- Test
/css/css-values/random-in-if.tentative.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| FAIL | random() should be allowed in if() style() condition assert_equals: expected "true" but got "" |
| FAIL | random() in var() should be allowed in if() style() condition assert_equals: expected "true" but got "" |
| FAIL | Sharing random() in same if() condition assert_equals: expected false but got true |
| PASS | Sharing property-scoped random() in same if() condition |
| FAIL | Sharing random() in if() style() condition within same property assert_equals: expected true but got false |
| PASS | Sharing element-scoped random() in if() style() condition across different properties |
| FAIL | Sharing property-index-scoped random() in if() style() condition across different properties assert_equals: expected false but got true |
| PASS | Sharing property-index-scoped random() in if() style() condition across different elements |
| PASS | Sharing property-scoped random() in if() style() condition across different elements |
| FAIL | Sharing element-scoped random() in if() style() condition across different elements assert_equals: expected false but got true |
| FAIL | random() with different property names should not be shared in if() declaration value assert_false: expected false got true |
| FAIL | random() with same property name on different elements in if() declaration value should be equal assert_false: expected false got true |
| PASS | Sharing property-index-scoped random() in if() style() condition across different elements with different property counts |
| FAIL | Sharing property-index-scoped random() with multiple random() inside calc() assert_equals: expected false but got true |