    assertComputed(inner.shadowRoot.querySelector('section'), '0px');
    assertComputed(inner.shadowRoot.querySelector('input'), '0px');
  });

  test('elements will adopt dir status when reconnected', function(done) {
    let el = fixture('dir');
    assertComputed(el, 'rgb(0, 128, 0)', 'background-color');
    let parent = el.parentNode;
    parent.removeChild(el);
    document.documentElement.setAttribute('dir', 'ltr');
    requestAnimationFrame(() => {
      parent.appendChild(el);
      requestAnimati