at-position-try-parse.html
Details
- Test
/css/css-anchor-position/at-position-try-parse.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| PASS | @position-try --foo { } should be a valid rule |
| PASS | @position-try --foo { top: 1px; } should be a valid rule |
| FAIL | @position-try { } should be an invalid rule assert_throws_dom: @position-try { } should throw in insertRule function "() => sheet.insertRule(rule)" did not throw |
| FAIL | @position-try foo { } should be an invalid rule assert_throws_dom: @position-try foo { } should throw in insertRule function "() => sheet.insertRule(rule)" did not throw |
| FAIL | @position-try --foo --bar { } should be an invalid rule assert_throws_dom: @position-try --foo --bar { } should throw in insertRule function "() => sheet.insertRule(rule)" did not throw |
| FAIL | @position-try --foo, --bar { } should be an invalid rule assert_throws_dom: @position-try --foo, --bar { } should throw in insertRule function "() => sheet.insertRule(rule)" did not throw |
| FAIL | @position-try --foo { backround-color: green; } should be a valid rule assert_equals: serialization should be canonical expected "@position-try --foo { }" but got "@position-try --foo { backround-color: green; }" |
| FAIL | @position-try --foo { @keyframes bar {} } should be a valid rule assert_equals: serialization should be canonical expected "@position-try --foo { }" but got "@position-try --foo { @keyframes bar {} }" |
| FAIL | @position-try --foo { @font-face {} } should be a valid rule assert_equals: serialization should be canonical expected "@position-try --foo { }" but got "@position-try --foo { @font-face {} }" |
| FAIL | @position-try --foo { @media print {} } should be a valid rule assert_equals: serialization should be canonical expected "@position-try --foo { }" but got "@position-try --foo { @media print {} }" |
| FAIL | @position-try --foo { & {} } should be a valid rule assert_equals: serialization should be canonical expected "@position-try --foo { }" but got "@position-try --foo { & {} }" |
| FAIL | @position-try --foo { arbitrary garbage } should be a valid rule assert_equals: serialization should be canonical expected "@position-try --foo { }" but got "@position-try --foo { arbitrary garbage }" |