ts_container_queries());

test((t) => {
    assert_equals(getComputedStyle(inner).visibility, "hidden");
}, "Initial state");

test((t) => {
    outer.classList.add("visible");
    assert_equals(getComputedStyle(inner).visibility, "visible");
}, "Test that visibility inherits via container after mutation");

test((t) => {
    outer.classList.remove("visible");
    assert_equals(getComputedStyle(inner).visibility, "hidden");
}, "Return to initial state");

test((t) => {
    container.classList.add("visible")