Summary

Harness status: OK

Found 32 tests

Details

ResultTest NameMessage
Pass.foo { & { color: green; }}
Asserts run
Pass
assert_equals(1, 1, "Outer rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:23:7)
Pass
assert_equals(1, 1, "Inner rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:25:7)
Pass
assert_equals("&", "&", "Inner rule's selector should be \"&\".")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:27:7)
Pass.foo { &.bar { color: green; }}
Asserts run
Pass
assert_equals(1, 1, "Outer rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:23:7)
Pass
assert_equals(1, 1, "Inner rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:25:7)
Pass
assert_equals("&.bar", "&.bar", "Inner rule's selector should be \"&.bar\".")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:27:7)
Pass.foo { & .bar { color: green; }}
Asserts run
Pass
assert_equals(1, 1, "Outer rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:23:7)
Pass
assert_equals(1, 1, "Inner rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:25:7)
Pass
assert_equals("& .bar", "& .bar", "Inner rule's selector should be \"& .bar\".")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:27:7)
Pass.foo { & > .bar { color: green; }}
Asserts run
Pass
assert_equals(1, 1, "Outer rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:23:7)
Pass
assert_equals(1, 1, "Inner rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:25:7)
Pass
assert_equals("& > .bar", "& > .bar", "Inner rule's selector should be \"& > .bar\".")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:27:7)
Pass.foo { > .bar { color: green; }}
Asserts run
Pass
assert_equals(1, 1, "Outer rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:23:7)
Pass
assert_equals(1, 1, "Inner rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:25:7)
Pass
assert_equals("& > .bar", "& > .bar", "Inner rule's selector should be \"& > .bar\".")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:27:7)
Pass.foo { > & .bar { color: green; }}
Asserts run
Pass
assert_equals(1, 1, "Outer rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:23:7)
Pass
assert_equals(1, 1, "Inner rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:25:7)
Pass
assert_equals("& > & .bar", "& > & .bar", "Inner rule's selector should be \"& > & .bar\".")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:27:7)
Pass.foo { + .bar & { color: green; }}
Asserts run
Pass
assert_equals(1, 1, "Outer rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:23:7)
Pass
assert_equals(1, 1, "Inner rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:25:7)
Pass
assert_equals("& + .bar &", "& + .bar &", "Inner rule's selector should be \"& + .bar &\".")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:27:7)
Pass.foo { + .bar, .foo, > .baz { color: green; }}
Asserts run
Pass
assert_equals(1, 1, "Outer rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:23:7)
Pass
assert_equals(1, 1, "Inner rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:25:7)
Pass
assert_equals("& + .bar, & .foo, & > .baz", "& + .bar, & .foo, & > .baz", "Inner rule's selector should be \"& + .bar, & .foo, & > .baz\".")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:27:7)
Pass.foo { .foo { color: green; }}
Asserts run
Pass
assert_equals(1, 1, "Outer rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:23:7)
Pass
assert_equals(1, 1, "Inner rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:25:7)
Pass
assert_equals("& .foo", "& .foo", "Inner rule's selector should be \"& .foo\".")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:27:7)
Pass.foo { .test > & .bar { color: green; }}
Asserts run
Pass
assert_equals(1, 1, "Outer rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:23:7)
Pass
assert_equals(1, 1, "Inner rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:25:7)
Pass
assert_equals(".test > & .bar", ".test > & .bar", "Inner rule's selector should be \".test > & .bar\".")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:27:7)
Pass.foo { .foo, .foo & { color: green; }}
Asserts run
Pass
assert_equals(1, 1, "Outer rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:23:7)
Pass
assert_equals(1, 1, "Inner rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:25:7)
Pass
assert_equals("& .foo, .foo &", "& .foo, .foo &", "Inner rule's selector should be \"& .foo, .foo &\".")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:27:7)
Pass.foo { .foo, .bar { color: green; }}
Asserts run
Pass
assert_equals(1, 1, "Outer rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:23:7)
Pass
assert_equals(1, 1, "Inner rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:25:7)
Pass
assert_equals("& .foo, & .bar", "& .foo, & .bar", "Inner rule's selector should be \"& .foo, & .bar\".")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:27:7)
Pass.foo { :is(.bar, .baz) { color: green; }}
Asserts run
Pass
assert_equals(1, 1, "Outer rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:23:7)
Pass
assert_equals(1, 1, "Inner rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:25:7)
Pass
assert_equals("& :is(.bar, .baz)", "& :is(.bar, .baz)", "Inner rule's selector should be \"& :is(.bar, .baz)\".")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:27:7)
Pass.foo { &:is(.bar, .baz) { color: green; }}
Asserts run
Pass
assert_equals(1, 1, "Outer rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:23:7)
Pass
assert_equals(1, 1, "Inner rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:25:7)
Pass
assert_equals("&:is(.bar, .baz)", "&:is(.bar, .baz)", "Inner rule's selector should be \"&:is(.bar, .baz)\".")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:27:7)
Pass.foo { :is(.bar, &.baz) { color: green; }}
Asserts run
Pass
assert_equals(1, 1, "Outer rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:23:7)
Pass
assert_equals(1, 1, "Inner rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:25:7)
Pass
assert_equals(":is(.bar, &.baz)", ":is(.bar, &.baz)", "Inner rule's selector should be \":is(.bar, &.baz)\".")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:27:7)
Pass.foo { &:is(.bar, &.baz) { color: green; }}
Asserts run
Pass
assert_equals(1, 1, "Outer rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:23:7)
Pass
assert_equals(1, 1, "Inner rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:25:7)
Pass
assert_equals("&:is(.bar, &.baz)", "&:is(.bar, &.baz)", "Inner rule's selector should be \"&:is(.bar, &.baz)\".")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:27:7)
Pass.foo { div& { color: green; }}
Asserts run
Pass
assert_equals(1, 1, "Outer rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:23:7)
Pass
assert_equals(1, 1, "Inner rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:25:7)
Pass
assert_equals("div&", "div&", "Inner rule's selector should be \"div&\".")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:27:7)
PassINVALID: .foo { &div { color: green; }}
Asserts run
Pass
assert_equals(1, 1, "Outer rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:36:7)
Pass
assert_equals(0, 0, "Inner rule should not exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:38:7)
Pass.foo { .class& { color: green; }}
Asserts run
Pass
assert_equals(1, 1, "Outer rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:23:7)
Pass
assert_equals(1, 1, "Inner rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:25:7)
Pass
assert_equals(".class&", ".class&", "Inner rule's selector should be \".class&\".")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:27:7)
Pass.foo { &.class { color: green; }}
Asserts run
Pass
assert_equals(1, 1, "Outer rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:23:7)
Pass
assert_equals(1, 1, "Inner rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:25:7)
Pass
assert_equals("&.class", "&.class", "Inner rule's selector should be \"&.class\".")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:27:7)
Pass.foo { [attr]& { color: green; }}
Asserts run
Pass
assert_equals(1, 1, "Outer rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:23:7)
Pass
assert_equals(1, 1, "Inner rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:25:7)
Pass
assert_equals("[attr]&", "[attr]&", "Inner rule's selector should be \"[attr]&\".")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:27:7)
Pass.foo { &[attr] { color: green; }}
Asserts run
Pass
assert_equals(1, 1, "Outer rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:23:7)
Pass
assert_equals(1, 1, "Inner rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:25:7)
Pass
assert_equals("&[attr]", "&[attr]", "Inner rule's selector should be \"&[attr]\".")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:27:7)
Pass.foo { #id& { color: green; }}
Asserts run
Pass
assert_equals(1, 1, "Outer rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:23:7)
Pass
assert_equals(1, 1, "Inner rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:25:7)
Pass
assert_equals("#id&", "#id&", "Inner rule's selector should be \"#id&\".")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:27:7)
Pass.foo { &#id { color: green; }}
Asserts run
Pass
assert_equals(1, 1, "Outer rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:23:7)
Pass
assert_equals(1, 1, "Inner rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:25:7)
Pass
assert_equals("&#id", "&#id", "Inner rule's selector should be \"&#id\".")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:27:7)
Pass.foo { :hover& { color: green; }}
Asserts run
Pass
assert_equals(1, 1, "Outer rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:23:7)
Pass
assert_equals(1, 1, "Inner rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:25:7)
Pass
assert_equals(":hover&", ":hover&", "Inner rule's selector should be \":hover&\".")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:27:7)
Pass.foo { &:hover { color: green; }}
Asserts run
Pass
assert_equals(1, 1, "Outer rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:23:7)
Pass
assert_equals(1, 1, "Inner rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:25:7)
Pass
assert_equals("&:hover", "&:hover", "Inner rule's selector should be \"&:hover\".")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:27:7)
Pass.foo { :is(div)& { color: green; }}
Asserts run
Pass
assert_equals(1, 1, "Outer rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:23:7)
Pass
assert_equals(1, 1, "Inner rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:25:7)
Pass
assert_equals(":is(div)&", ":is(div)&", "Inner rule's selector should be \":is(div)&\".")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:27:7)
Pass.foo { &:is(div) { color: green; }}
Asserts run
Pass
assert_equals(1, 1, "Outer rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:23:7)
Pass
assert_equals(1, 1, "Inner rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:25:7)
Pass
assert_equals("&:is(div)", "&:is(div)", "Inner rule's selector should be \"&:is(div)\".")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:27:7)
Pass.foo { & .bar & .baz & .qux { color: green; }}
Asserts run
Pass
assert_equals(1, 1, "Outer rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:23:7)
Pass
assert_equals(1, 1, "Inner rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:25:7)
Pass
assert_equals("& .bar & .baz & .qux", "& .bar & .baz & .qux", "Inner rule's selector should be \"& .bar & .baz & .qux\".")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:27:7)
Pass.foo { && { color: green; }}
Asserts run
Pass
assert_equals(1, 1, "Outer rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:23:7)
Pass
assert_equals(1, 1, "Inner rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:25:7)
Pass
assert_equals("&&", "&&", "Inner rule's selector should be \"&&\".")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:27:7)
Pass.foo { & > section, & > article { color: green; }}
Asserts run
Pass
assert_equals(1, 1, "Outer rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:23:7)
Pass
assert_equals(1, 1, "Inner rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:25:7)
Pass
assert_equals("& > section, & > article", "& > section, & > article", "Inner rule's selector should be \"& > section, & > article\".")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:27:7)
Pass.foo, .bar { & + .baz, &.qux { color: green; }}
Asserts run
Pass
assert_equals(1, 1, "Outer rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:23:7)
Pass
assert_equals(1, 1, "Inner rule should exist.")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:25:7)
Pass
assert_equals("& + .baz, &.qux", "& + .baz, &.qux", "Inner rule's selector should be \"& + .baz, &.qux\".")
    at Test.<anonymous> ( /css/css-nesting/parsing.html:27:7)