"--match"), "");
  }, "Pre-conditions");

  test(() => {
    container.className = "match";
    assert_equals(getComputedStyle(inner).color, "rgb(0, 128, 0)");
    assert_equals(getComputedStyle(inner).getPropertyValue("--match"), "true");
    assert_equals(getComputedStyle(outer).getPropertyValue("--match"), "true");
    assert_equals(getComputedStyle(container).getPropertyValue("--match"), "true");
  }, "Changed --match inherits down descendants and affects container query");
</script>
