);
          requestAnimationFrame(() => {
            assert.equal(
              getComputedStyle(shadowDiv).getPropertyValue('color').trim(),
              'rgb(255, 0, 0)'
            );
            done();
          });
        });
        function makeDynamicElement(name, connectedCallback) {
          let template = document.querySelector(`template#${name}`);
          if (template && window.ShadyCSS) {
            window.ShadyCSS.prepareTemplate(template, name);
          }
          window.customEl