Summary

Harness status: OK

Found 12 tests

Details

ResultTest NameMessage
Pass@position-try --foo { } should be a valid rule
Asserts run
Pass
assert_equals(0, 0, "Sheet should have no rules")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:132:9)
Pass
assert_equals(1, 1, "Sheet should have 1 rule")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:134:9)
Pass
assert_equals("@position-try --foo { }", "@position-try --foo { }", "serialization should be canonical")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:140:13)
Pass
assert_equals(0, 0, "Sheet should have no rule")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:143:9)
Pass
assert_equals(1, 1, "Sheet should have 1 rule")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:145:9)
Pass
assert_equals("@position-try --foo { }", "@position-try --foo { }", "serialization should round-trip")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:147:9)
Pass@position-try --foo { top: 1px; } should be a valid rule
Asserts run
Pass
assert_equals(0, 0, "Sheet should have no rules")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:132:9)
Pass
assert_equals(1, 1, "Sheet should have 1 rule")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:134:9)
Pass
assert_equals("@position-try --foo { top: 1px; }", "@position-try --foo { top: 1px; }", "serialization should be canonical")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:140:13)
Pass
assert_equals(0, 0, "Sheet should have no rule")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:143:9)
Pass
assert_equals(1, 1, "Sheet should have 1 rule")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:145:9)
Pass
assert_equals("@position-try --foo { top: 1px; }", "@position-try --foo { top: 1px; }", "serialization should round-trip")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:147:9)
Pass@position-try { } should be an invalid rule
Asserts run
Pass
assert_throws_dom(12, function "() => sheet.insertRule(rule)", "@position-try { } should throw in insertRule")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:158:9)
Pass@position-try foo { } should be an invalid rule
Asserts run
Pass
assert_throws_dom(12, function "() => sheet.insertRule(rule)", "@position-try foo { } should throw in insertRule")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:158:9)
Pass@position-try --foo --bar { } should be an invalid rule
Asserts run
Pass
assert_throws_dom(12, function "() => sheet.insertRule(rule)", "@position-try --foo --bar { } should throw in insertRule")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:158:9)
Pass@position-try --foo, --bar { } should be an invalid rule
Asserts run
Pass
assert_throws_dom(12, function "() => sheet.insertRule(rule)", "@position-try --foo, --bar { } should throw in insertRule")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:158:9)
Pass@position-try --foo { backround-color: green; } should be a valid rule
Asserts run
Pass
assert_equals(0, 0, "Sheet should have no rules")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:132:9)
Pass
assert_equals(1, 1, "Sheet should have 1 rule")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:134:9)
Pass
assert_equals("@position-try --foo { }", "@position-try --foo { }", "serialization should be canonical")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:140:13)
Pass
assert_equals(0, 0, "Sheet should have no rule")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:143:9)
Pass
assert_equals(1, 1, "Sheet should have 1 rule")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:145:9)
Pass
assert_equals("@position-try --foo { }", "@position-try --foo { }", "serialization should round-trip")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:147:9)
Pass@position-try --foo { @keyframes bar {} } should be a valid rule
Asserts run
Pass
assert_equals(0, 0, "Sheet should have no rules")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:132:9)
Pass
assert_equals(1, 1, "Sheet should have 1 rule")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:134:9)
Pass
assert_equals("@position-try --foo { }", "@position-try --foo { }", "serialization should be canonical")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:140:13)
Pass
assert_equals(0, 0, "Sheet should have no rule")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:143:9)
Pass
assert_equals(1, 1, "Sheet should have 1 rule")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:145:9)
Pass
assert_equals("@position-try --foo { }", "@position-try --foo { }", "serialization should round-trip")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:147:9)
Pass@position-try --foo { @font-face {} } should be a valid rule
Asserts run
Pass
assert_equals(0, 0, "Sheet should have no rules")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:132:9)
Pass
assert_equals(1, 1, "Sheet should have 1 rule")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:134:9)
Pass
assert_equals("@position-try --foo { }", "@position-try --foo { }", "serialization should be canonical")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:140:13)
Pass
assert_equals(0, 0, "Sheet should have no rule")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:143:9)
Pass
assert_equals(1, 1, "Sheet should have 1 rule")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:145:9)
Pass
assert_equals("@position-try --foo { }", "@position-try --foo { }", "serialization should round-trip")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:147:9)
Pass@position-try --foo { @media print {} } should be a valid rule
Asserts run
Pass
assert_equals(0, 0, "Sheet should have no rules")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:132:9)
Pass
assert_equals(1, 1, "Sheet should have 1 rule")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:134:9)
Pass
assert_equals("@position-try --foo { }", "@position-try --foo { }", "serialization should be canonical")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:140:13)
Pass
assert_equals(0, 0, "Sheet should have no rule")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:143:9)
Pass
assert_equals(1, 1, "Sheet should have 1 rule")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:145:9)
Pass
assert_equals("@position-try --foo { }", "@position-try --foo { }", "serialization should round-trip")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:147:9)
Pass@position-try --foo { & {} } should be a valid rule
Asserts run
Pass
assert_equals(0, 0, "Sheet should have no rules")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:132:9)
Pass
assert_equals(1, 1, "Sheet should have 1 rule")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:134:9)
Pass
assert_equals("@position-try --foo { }", "@position-try --foo { }", "serialization should be canonical")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:140:13)
Pass
assert_equals(0, 0, "Sheet should have no rule")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:143:9)
Pass
assert_equals(1, 1, "Sheet should have 1 rule")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:145:9)
Pass
assert_equals("@position-try --foo { }", "@position-try --foo { }", "serialization should round-trip")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:147:9)
Pass@position-try --foo { arbitrary garbage } should be a valid rule
Asserts run
Pass
assert_equals(0, 0, "Sheet should have no rules")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:132:9)
Pass
assert_equals(1, 1, "Sheet should have 1 rule")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:134:9)
Pass
assert_equals("@position-try --foo { }", "@position-try --foo { }", "serialization should be canonical")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:140:13)
Pass
assert_equals(0, 0, "Sheet should have no rule")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:143:9)
Pass
assert_equals(1, 1, "Sheet should have 1 rule")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:145:9)
Pass
assert_equals("@position-try --foo { }", "@position-try --foo { }", "serialization should round-trip")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:147:9)