"", "Style doesn't apply when detached");
    assert_equals(getComputedStyle(redShadowSpan).color, "", "Style doesn't apply when detached");
    shadowRoot.adoptedStyleSheets = [redStyleSheet, greenStyleSheet];
    hostParent.appendChild(shadowHost);
    assert_equals(getComputedStyle(greenShadowSpan).color, "rgb(0, 128, 0)", "Style applies after reattach");
    assert_equals(getComputedStyle(redShadowSpan).color, "rgb(255, 0, 0)", "Style applies after reattach");
  });
}, 'Re-attaching shadow host with ado