ssert_equals(getComputedStyle(host).color, "rgb(255, 0, 0)", "Style applies after adding style");
  document.body.removeChild(host);
  document.body.appendChild(host);
  assert_equals(getComputedStyle(host).color, "rgb(255, 0, 0)", "Style applies after reattachment");
  host.toggleAttribute("red");
  assert_equals(getComputedStyle(host).color, "rgb(0, 0, 0)", "Attribute updates to the element after reattachment apply");
  host.classList.toggle("blue");
  assert_equals(getComputedStyle(host).color, "rgb(0, 0