t}px;`;
      await doubleRaf();
      const computed = getComputedStyle(document.querySelector('h1'));
      for (const [prop, expectedValue] of Object.entries(expectedPropValues)) {
        assert(
          computed[prop] === expectedValue,
          `Expected ${prop} to be ${expectedValue}, got ${computed[prop]} (case: width=${width}, height=${height})`
        );
      }
    }
  });
</script>
