anchor-invalid-fallback.html
Details
- Test
/css/css-anchor-position/anchor-invalid-fallback.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| FAIL | Element can be anchor positioned assert_equals: expected "125px" but got "anchor(right)" |
| FAIL | Element can use <length> fallback if present assert_equals: expected "17px" but got "anchor(right, 17px)" |
| FAIL | Element can use <length> fallback with percentage assert_equals: expected "17px" but got "anchor(right, 8.5%)" |
| FAIL | Element can use <length> fallback for max size with percentage assert_equals: expected "28%" but got "anchor-size(width, 28%)" |
| FAIL | Element can use <length> fallback for margin with percentage assert_equals: expected "13px" but got "0px" |
| FAIL | Invalid anchor function, left assert_equals: left expected "auto" but got "anchor(left)" |
| FAIL | Invalid anchor function, right assert_equals: right expected "auto" but got "anchor(right)" |
| FAIL | Invalid anchor function, bottom assert_equals: bottom expected "auto" but got "anchor(bottom)" |
| FAIL | Invalid anchor function, top assert_equals: top expected "auto" but got "anchor(top)" |
| PASS | Invalid anchor function, width |
| PASS | Invalid anchor function, height |
| FAIL | Invalid anchor function, min-width assert_equals: minWidth expected "0px" but got "anchor-size(width)" |
| FAIL | Invalid anchor function, min-height assert_equals: minHeight expected "0px" but got "anchor-size(height)" |
| FAIL | Invalid anchor function, max-width assert_equals: maxWidth expected "none" but got "anchor-size(width)" |
| FAIL | Invalid anchor function, max-height assert_equals: maxHeight expected "none" but got "anchor-size(height)" |
| FAIL | Invalid anchor function, --unknown left assert_equals: left expected "auto" but got "anchor(--unknown left)" |
| PASS | Invalid anchor function, --unknown width |
| FAIL | Invalid anchor function, cross-axis query (vertical) assert_equals: left expected "auto" but got "anchor(--a top)" |
| FAIL | Invalid anchor function, cross-axis query (horizontal) assert_equals: top expected "auto" but got "anchor(--a left)" |
| PASS | Invalid anchor function, anchor() in sizing property |
| FAIL | Invalid anchor function, nested left assert_equals: left expected "auto" but got "calc(anchor(left) + 10px)" |
| FAIL | Invalid anchor function, nested right assert_equals: right expected "auto" but got "calc(anchor(right) + 10px)" |
| FAIL | Invalid anchor function, nested bottom assert_equals: bottom expected "auto" but got "calc(anchor(bottom) + 10px)" |
| FAIL | Invalid anchor function, nested top assert_equals: top expected "auto" but got "calc(anchor(top) + 10px)" |
| FAIL | Invalid anchor function, nested min-width assert_equals: minWidth expected "0px" but got "calc(anchor-size(width) + 10px)" |
| FAIL | Invalid anchor function, nested min-height assert_equals: minHeight expected "0px" but got "calc(anchor-size(height) + 10px)" |
| FAIL | Invalid anchor function, nested max-width assert_equals: maxWidth expected "none" but got "calc(anchor-size(width) + 10px)" |
| FAIL | Invalid anchor function, nested max-height assert_equals: maxHeight expected "none" but got "calc(anchor-size(height) + 10px)" |
| FAIL | Invalid anchor function, invalid anchor() in fallback assert_equals: top expected "auto" but got "anchor(top, anchor(--unknown top))" |
| PASS | Invalid anchor function, invalid anchor-size() in fallback |
| FAIL | Invalid anchor function, min() assert_equals: top expected "auto" but got "min(10px, anchor(top))" |
| FAIL | Invalid anchor function, max() assert_equals: top expected "auto" but got "max(10px, anchor(top))" |
| FAIL | Invalid anchor function, abs() assert_equals: top expected "auto" but got "abs(anchor(top) - 100px)" |
| FAIL | Invalid anchor function, sign() assert_equals: top expected "auto" but got "calc(20px * sign(anchor(top) - 100px))" |
| FAIL | Invalid anchor function, anchor(var()) assert_equals: top expected "auto" but got "anchor(top)" |
| FAIL | Invalid anchor function, anchor(unknown var()) (fallback) assert_equals: top expected "auto" but got "anchor(top)" |
| PASS | Invalid anchor function, anchor(unknown var()) (no fallback) |
| FAIL | Revert to invalid anchor() assert_equals: expected "auto" but got "anchor(top)" |
| FAIL | Flip to invalid anchor() assert_equals: left expected "10px" but got "9999px" |